summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2016-09-10 08:58:15 +0200
committerJan Lehnardt <jan@apache.org>2016-09-10 08:58:15 +0200
commit308d31199e7b0f28bf3afedd81cdea72fe364991 (patch)
treefcd7cd823ac3e812c732941703d83b9cde80a117
parent16cccd37aece7fbec370d9b120964be693eaf533 (diff)
downloadcouchdb-308d31199e7b0f28bf3afedd81cdea72fe364991.tar.gz
fix: avoid bogus tar error message on Mac systems
-rwxr-xr-xbuild-aux/couchdb-build-release.sh2
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