aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-06-15 22:27:11 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-06-15 22:27:11 +0100
commit5d0d541d3cdfa9b86855914a75599c6cdca0830b (patch)
tree7535c0fee1abdb6ef2cd94ba7d59b416730c5596
parent45fdd2d362529c25d71632b057909809e122e593 (diff)
downloadpaludis-5d0d541d3cdfa9b86855914a75599c6cdca0830b.tar.gz
paludis-5d0d541d3cdfa9b86855914a75599c6cdca0830b.tar.xz
Revert "Also find the git head if GIT_DIR is set."
This turns out not to be very useful, as the dirtyness detection goes wrong. This reverts commit 45fdd2d362529c25d71632b057909809e122e593.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 395a843..b4c5919 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1277,7 +1277,7 @@ AC_SUBST([BUILDHOST])
BUILDDATE=`date +%Y-%m-%dT%H:%M:%S%z`
AC_SUBST([BUILDDATE])
-if test -d "${GIT_DIR:-${ac_top_srcdir:-./}/.git}" ; then
+if test -d "${ac_top_srcdir:-./}/.git" ; then
GITHEAD=`git describe 2>/dev/null`
if test -z ${GITHEAD} ; then
GITHEAD=`git rev-parse HEAD`