You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/12/28 21:17:00 UTC
[2/3] couchdb commit: updated refs/heads/master to 3de6a3f
Fix tar'ing on FreeBSD
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/961b5f79
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/961b5f79
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/961b5f79
Branch: refs/heads/master
Commit: 961b5f796437324a90f041a463950242d531e79c
Parents: e40083e
Author: Alexander Shorin <kx...@apache.org>
Authored: Mon Dec 28 23:07:23 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Mon Dec 28 23:16:39 2015 +0300
----------------------------------------------------------------------
build-aux/couchdb-build-release.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/961b5f79/build-aux/couchdb-build-release.sh
----------------------------------------------------------------------
diff --git a/build-aux/couchdb-build-release.sh b/build-aux/couchdb-build-release.sh
index 47c3926..d169d2e 100755
--- a/build-aux/couchdb-build-release.sh
+++ b/build-aux/couchdb-build-release.sh
@@ -17,7 +17,7 @@ mkdir $RELDIR
CURRENT_BRANCH=`git rev-parse --abbrev-ref HEAD`
# copy sources over
-git archive $CURRENT_BRANCH | tar -xC $RELDIR/
+git archive $CURRENT_BRANCH | tar -xC $RELDIR/ -f -
mkdir $RELDIR/src
cd src/
@@ -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/
+ git archive $git_ish | tar -xC ../../$RELDIR/src/$repo/ -f -
set +e
grep -rl '{vsn, git}' ../../$RELDIR/src/$repo/ | xargs sed -i "s/{vsn, git}/{vsn, \"`git describe --always --tags`\"}/" 2> /dev/null
set -e