Update build_libcurl_dist.sh
Clean dist_dir before creation
This commit is contained in:
parent
3cd8851df1
commit
70004bf5c4
1 changed files with 1 additions and 0 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue