diff options
author | Brad King <brad.king@kitware.com> | 2017-10-04 07:11:43 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-10 11:14:42 -0400 |
commit | 2fad0e20b6b2b4c3cfc177267cf9689658f50c23 (patch) | |
tree | 1f6ed8a5e0960b03e7a7187ff3f0bcbb8ac79883 | |
parent | a91eb5e41f486628910f189bf40403568af013c7 (diff) | |
download | cmake-2fad0e20b6b2b4c3cfc177267cf9689658f50c23.tar.gz |
curl: Update script to get curl 7.56.0
-rwxr-xr-x | Utilities/Scripts/update-curl.bash | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Utilities/Scripts/update-curl.bash b/Utilities/Scripts/update-curl.bash index 465841a02d..b244827340 100755 --- a/Utilities/Scripts/update-curl.bash +++ b/Utilities/Scripts/update-curl.bash @@ -8,14 +8,13 @@ readonly name="curl" readonly ownership="Curl Upstream <curl-library@cool.haxx.se>" readonly subtree="Utilities/cmcurl" readonly repo="https://github.com/curl/curl.git" -readonly tag="curl-7_54_1" +readonly tag="curl-7_56_0" readonly shortlog=false readonly paths=" CMake/* CMakeLists.txt COPYING include/curl/*.h - include/curl/curlbuild.h.cmake lib/*.c lib/*.h lib/CMakeLists.txt @@ -32,6 +31,15 @@ extract_source () { git_archive pushd "${extractdir}/${name}-reduced" rm lib/config-*.h + chmod a-x lib/connect.c + for f in \ + lib/cookie.c \ + lib/krb5.c \ + lib/security.c \ + ; do + iconv -f LATIN1 -t UTF8 $f -o $f.utf-8 + mv $f.utf-8 $f + done echo "* -whitespace" > .gitattributes popd } |