You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by jh...@apache.org on 2013/01/30 13:18:59 UTC
git commit: Support any type of Git checkout (cloned, or submodule)
Updated Branches:
refs/heads/1.3.x 9e8782fa1 -> 1e291e597
Support any type of Git checkout (cloned, or submodule)
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/1e291e59
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/1e291e59
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/1e291e59
Branch: refs/heads/1.3.x
Commit: 1e291e597da3c80e80582b67c8a7db82e269cb79
Parents: 9e8782f
Author: Jason Smith (work) <jh...@apache.org>
Authored: Wed Jan 30 12:17:06 2013 +0000
Committer: Jason Smith (work) <jh...@apache.org>
Committed: Wed Jan 30 12:17:06 2013 +0000
----------------------------------------------------------------------
bootstrap | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/1e291e59/bootstrap
----------------------------------------------------------------------
diff --git a/bootstrap b/bootstrap
index 1e5bdf1..021275b 100755
--- a/bootstrap
+++ b/bootstrap
@@ -32,7 +32,7 @@ get () {
}
if test -z "$REVISION"; then
- if test -d .git; then
+ if test -e .git; then
REVISION=`git describe --always`-git
fi
fi
@@ -43,7 +43,7 @@ else
sed "s/%release%/$REVISION/" < acinclude.m4.in > acinclude.m4
fi
-if test -d .git; then
+if test -e .git; then
OS=`uname -s`
case "$OS" in
Linux|CYGWIN*) # GNU sed