From 1abf359cf07b59ac99e45c1cefd81c4b5edb312d Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Wed, 5 Oct 2011 00:26:33 -0400 Subject: [PATCH 1/1] test for .git dir with -d not -e; more portable --- src/scripts/reversion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.30.2