couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [2/3] couchdb commit: updated refs/heads/master to 3de6a3f
Date Mon, 28 Dec 2015 20:17:00 GMT
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 <kxepal@apache.org>
Authored: Mon Dec 28 23:07:23 2015 +0300
Committer: Alexander Shorin <kxepal@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


Mime
View raw message