diff options
author | Alexander Shorin <kxepal@apache.org> | 2015-12-28 23:09:36 +0300 |
---|---|---|
committer | Alexander Shorin <kxepal@apache.org> | 2015-12-28 23:16:39 +0300 |
commit | 3de6a3f1aeefccd7135966206b4666cdcdce053d (patch) | |
tree | 680d524bfe02a9370a9084c8d614ac28a632f00a /build-aux | |
parent | 961b5f796437324a90f041a463950242d531e79c (diff) | |
download | couchdb-3de6a3f1aeefccd7135966206b4666cdcdce053d.tar.gz |
Fix {vsn, git} replace on BSD systems during make dist
Diffstat (limited to 'build-aux')
-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 d169d2e1c..14c0d9acc 100755 --- a/build-aux/couchdb-build-release.sh +++ b/build-aux/couchdb-build-release.sh @@ -27,7 +27,7 @@ for repo in *; do git_ish=`git rev-parse --short HEAD` 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 + grep -rl '{vsn, git}' ../../$RELDIR/src/$repo/ | xargs sed -ie "s/{vsn, git}/{vsn, \"`git describe --always --tags`\"}/" 2> /dev/null set -e cd .. done |