summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/scripts/reversion2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/reversion b/src/scripts/reversion
index ad83fe564..97b8874a5 100755
--- a/src/scripts/reversion
+++ b/src/scripts/reversion
@@ -32,7 +32,7 @@ fi
# If this tree is a git working directory, use that to get version information.
-if [ -e ../../.git ] || [ "$1" = "release" ]
+if [ -d ../../.git ] || [ "$1" = "release" ]
then
# Modify the output of git describe into separate parts for
# the name "exim" and the release and variant versions.