From 70004bf5c433bc1c51a58b11ba01ecf66274a34e Mon Sep 17 00:00:00 2001 From: sinofool Date: Fri, 28 Mar 2014 23:52:20 -0700 Subject: [PATCH 1/3] Update build_libcurl_dist.sh Clean dist_dir before creation --- build_libcurl_dist.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build_libcurl_dist.sh b/build_libcurl_dist.sh index 94e0bf1..4570be0 100755 --- a/build_libcurl_dist.sh +++ b/build_libcurl_dist.sh @@ -35,6 +35,7 @@ curl -O https://raw.githubusercontent.com/sinofool/build-curl-ios/master/patch-i patch ${TMP_DIR}/include/curl/curlbuild.h < patch-include.patch DIST_DIR=${HOME}/libcurl-ios-dist +rm -rf ${DIST_DIR} mkdir ${DIST_DIR} cp -r ${TMP_DIR}/include ${TMP_DIR}/libcurl.a ${DIST_DIR} From 34bb53f8c29ce2f8c4184b44526a7a222b192e0e Mon Sep 17 00:00:00 2001 From: sinofool Date: Fri, 28 Mar 2014 23:57:34 -0700 Subject: [PATCH 2/3] Update build_libcurl_dist.sh Fix wrong patch url --- build_libcurl_dist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_libcurl_dist.sh b/build_libcurl_dist.sh index 4570be0..4f8853b 100755 --- a/build_libcurl_dist.sh +++ b/build_libcurl_dist.sh @@ -31,7 +31,7 @@ ${DEVROOT}/usr/bin/lipo \ -output ${TMP_DIR}/libcurl.a -create cp -r ${TMP_DIR}/armv7s/include ${TMP_DIR}/ -curl -O https://raw.githubusercontent.com/sinofool/build-curl-ios/master/patch-include.patch +curl -O https://raw.githubusercontent.com/sinofool/build-libcurl-ios/master/patch-include.patch patch ${TMP_DIR}/include/curl/curlbuild.h < patch-include.patch DIST_DIR=${HOME}/libcurl-ios-dist From 1ee8e6da7afe9db3d3045d08868fac6f3fe0bad7 Mon Sep 17 00:00:00 2001 From: sinofool Date: Sat, 29 Mar 2014 00:01:51 -0700 Subject: [PATCH 3/3] Update build_libcurl_dist.sh dist_dir to desktop --- build_libcurl_dist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_libcurl_dist.sh b/build_libcurl_dist.sh index 4f8853b..f7198ce 100755 --- a/build_libcurl_dist.sh +++ b/build_libcurl_dist.sh @@ -34,7 +34,7 @@ cp -r ${TMP_DIR}/armv7s/include ${TMP_DIR}/ curl -O https://raw.githubusercontent.com/sinofool/build-libcurl-ios/master/patch-include.patch patch ${TMP_DIR}/include/curl/curlbuild.h < patch-include.patch -DIST_DIR=${HOME}/libcurl-ios-dist +DIST_DIR=${HOME}/Desktop/libcurl-ios-dist rm -rf ${DIST_DIR} mkdir ${DIST_DIR} cp -r ${TMP_DIR}/include ${TMP_DIR}/libcurl.a ${DIST_DIR}