diff options
author | Jason Smith (work) <jhs@apache.org> | 2013-01-30 12:17:06 +0000 |
---|---|---|
committer | Jason Smith (work) <jhs@apache.org> | 2013-01-30 12:24:19 +0000 |
commit | 4c825efa5a36c88c8d7df1ca8ba1b2fb8baa290d (patch) | |
tree | 01e812c1ae61511989475f984617ba2bda8f032d | |
parent | 734ca24858c1fdcaa9d998f19bbf7f3e35817f64 (diff) | |
download | couchdb-4c825efa5a36c88c8d7df1ca8ba1b2fb8baa290d.tar.gz |
Support any type of Git checkout (cloned, or submodule)
-rwxr-xr-x | bootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |