Update build_libcurl_dist.sh

Clean dist_dir before creation
This commit is contained in:
sinofool 2014-03-28 23:52:20 -07:00
parent 3cd8851df1
commit 70004bf5c4

View file

@ -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}