aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 5163f1183c..ad2973d975 100755
--- a/configure
+++ b/configure
@@ -266,6 +266,8 @@ if test -e .svn/entries ; then
checkedout=svn
elif [ -d '{arch}' ]; then
checkedout=gnuarch
+elif [ -z "${GIT_DIR}" ] && [ -d .git ] || [ -d "${GIT_DIR}" ]; then
+ checkedout=git
else
checkedout=0
fi