Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Scripts/update-curl.bash
3148 views
1
#!/usr/bin/env bash
2
3
set -e
4
set -x
5
shopt -s dotglob
6
7
readonly name="curl"
8
readonly ownership="Curl Upstream <[email protected]>"
9
readonly subtree="Utilities/cmcurl"
10
readonly repo="https://github.com/curl/curl.git"
11
readonly tag="curl-8_15_0"
12
readonly shortlog=false
13
readonly paths="
14
CMake/*
15
CMakeLists.txt
16
COPYING
17
include/curl/*.h
18
lib/*.c
19
lib/*.h
20
lib/CMakeLists.txt
21
lib/Makefile.inc
22
lib/curl_config.h.cmake
23
lib/libcurl.rc
24
lib/curlx/*.c
25
lib/curlx/*.h
26
lib/vauth/*.c
27
lib/vauth/*.h
28
lib/vquic/*.c
29
lib/vquic/*.h
30
lib/vssh/*.c
31
lib/vssh/*.h
32
lib/vtls/*.c
33
lib/vtls/*.h
34
"
35
36
extract_source () {
37
git_archive
38
pushd "${extractdir}/${name}-reduced"
39
rm lib/config-*.h
40
echo "* -whitespace" > .gitattributes
41
popd
42
}
43
44
. "${BASH_SOURCE%/*}/update-third-party.bash"
45
46