Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jussi Kukkonen
CMake
Commits
91e6da10
Commit
91e6da10
authored
May 02, 2016
by
Brad King
Browse files
Add script to update LibArchive from upstream
parent
24b2a367
Changes
1
Hide whitespace changes
Inline
Side-by-side
Utilities/Scripts/update-libarchive.bash
0 → 100755
View file @
91e6da10
#!/usr/bin/env bash
set
-e
set
-x
shopt
-s
dotglob
readonly
name
=
"LibArchive"
readonly
ownership
=
"LibArchive Upstream <libarchive-discuss@googlegroups.com>"
readonly
subtree
=
"Utilities/cmlibarchive"
readonly
repo
=
"https://github.com/libarchive/libarchive.git"
readonly
tag
=
"master"
readonly
shortlog
=
false
readonly
paths
=
"
CMakeLists.txt
COPYING
CTestConfig.cmake
build/cmake
build/pkgconfig
build/utils
build/version
libarchive/*.*
"
extract_source
()
{
git_archive
pushd
"
${
extractdir
}
/
${
name
}
-reduced"
fromdos build/cmake/Find
*
.cmake
popd
}
.
"
${
BASH_SOURCE
%/*
}
/update-third-party.bash"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment