Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Scripts/update-bzip2.bash
4998 views
1
#!/usr/bin/env bash
2
3
set -e
4
set -x
5
shopt -s dotglob
6
7
readonly name="bzip2"
8
readonly ownership="bzip2 upstream <[email protected]>"
9
readonly subtree="Utilities/cmbzip2"
10
readonly repo="https://sourceware.org/git/bzip2.git"
11
readonly tag="bzip2-1.0.8"
12
readonly shortlog=false
13
readonly exact_tree_match=false
14
readonly paths="
15
LICENSE
16
README
17
*.c
18
*.h
19
"
20
21
extract_source () {
22
git_archive
23
pushd "${extractdir}/${name}-reduced"
24
echo "* -whitespace" > .gitattributes
25
fromdos dlltest.c
26
popd
27
}
28
29
. "${BASH_SOURCE%/*}/update-third-party.bash"
30
31