diff options
author | Jan Lehnardt <jan@apache.org> | 2016-09-10 08:58:15 +0200 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2016-09-10 08:58:15 +0200 |
commit | 308d31199e7b0f28bf3afedd81cdea72fe364991 (patch) | |
tree | fcd7cd823ac3e812c732941703d83b9cde80a117 | |
parent | 16cccd37aece7fbec370d9b120964be693eaf533 (diff) | |
download | couchdb-308d31199e7b0f28bf3afedd81cdea72fe364991.tar.gz |
fix: avoid bogus tar error message on Mac systems
-rwxr-xr-x | build-aux/couchdb-build-release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/couchdb-build-release.sh b/build-aux/couchdb-build-release.sh index 45f754e53..4cea72a7c 100755 --- a/build-aux/couchdb-build-release.sh +++ b/build-aux/couchdb-build-release.sh @@ -25,7 +25,7 @@ for repo in *; do cd $repo mkdir ../../$RELDIR/src/$repo git_ish=`git rev-parse --short HEAD` - git archive $git_ish | tar -xC ../../$RELDIR/src/$repo/ -f - + git archive $git_ish | tar --exclude '*do_not_compile.erl' -xC ../../$RELDIR/src/$repo/ -f - set +e grep -rl '{vsn, git}' ../../$RELDIR/src/$repo/ | xargs sed -ie "s/{vsn, git}/{vsn, \"`git describe --always --tags`\"}/" 2> /dev/null set -e |