From 70004bf5c433bc1c51a58b11ba01ecf66274a34e Mon Sep 17 00:00:00 2001 From: sinofool Date: Fri, 28 Mar 2014 23:52:20 -0700 Subject: [PATCH] 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}