mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 20:00:38 -06:00
e1f4a35171Utilities/Scripts: do not use exact tree match1b03059674update-common.sh: synchronize with upstream98e410c4dbgit-fetch-file: track `update-common.sh` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !11397
46 lines
841 B
Bash
Executable File
46 lines
841 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
shopt -s dotglob
|
|
|
|
readonly name="curl"
|
|
readonly ownership="Curl Upstream <curl-library@lists.haxx.se>"
|
|
readonly subtree="Utilities/cmcurl"
|
|
readonly repo="https://github.com/curl/curl.git"
|
|
readonly tag="curl-8_17_0"
|
|
readonly shortlog=false
|
|
readonly exact_tree_match=false
|
|
readonly paths="
|
|
CMake/*
|
|
CMakeLists.txt
|
|
COPYING
|
|
include/curl/*.h
|
|
lib/*.c
|
|
lib/*.h
|
|
lib/CMakeLists.txt
|
|
lib/Makefile.inc
|
|
lib/curl_config.h.cmake
|
|
lib/libcurl.rc
|
|
lib/curlx/*.c
|
|
lib/curlx/*.h
|
|
lib/vauth/*.c
|
|
lib/vauth/*.h
|
|
lib/vquic/*.c
|
|
lib/vquic/*.h
|
|
lib/vssh/*.c
|
|
lib/vssh/*.h
|
|
lib/vtls/*.c
|
|
lib/vtls/*.h
|
|
"
|
|
|
|
extract_source () {
|
|
git_archive
|
|
pushd "${extractdir}/${name}-reduced"
|
|
rm lib/config-*.h
|
|
echo "* -whitespace" > .gitattributes
|
|
popd
|
|
}
|
|
|
|
. "${BASH_SOURCE%/*}/update-third-party.bash"
|