Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Scripts/update-curl.bash
4998 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_18_0"
12
readonly shortlog=false
13
readonly exact_tree_match=false
14
readonly paths="
15
CMake/*
16
CMakeLists.txt
17
COPYING
18
include/curl/*.h
19
lib/*.c
20
lib/*.h
21
lib/CMakeLists.txt
22
lib/Makefile.inc
23
lib/curl_config-cmake.h.in
24
lib/libcurl.rc
25
lib/curlx/*.c
26
lib/curlx/*.h
27
lib/vauth/*.c
28
lib/vauth/*.h
29
lib/vquic/*.c
30
lib/vquic/*.h
31
lib/vssh/*.c
32
lib/vssh/*.h
33
lib/vtls/*.c
34
lib/vtls/*.h
35
"
36
37
extract_source () {
38
git_archive
39
pushd "${extractdir}/${name}-reduced"
40
rm lib/config-*.h
41
echo "* -whitespace" > .gitattributes
42
popd
43
}
44
45
. "${BASH_SOURCE%/*}/update-third-party.bash"
46
47