diff options
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index eef4dc796f..141235057c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1546,7 +1546,7 @@ if test "$RELEASE" = "NO"; then fi AC_MSG_CHECKING([for GHC Git commit id]) - if test -d .git; then + if test -e .git; then git_commit_id=`git rev-parse HEAD` if test -n "$git_commit_id" 2>&1 >/dev/null; then true; else AC_MSG_ERROR([failed to detect revision: check that git is in your path]) |