diff options
author | Phil Pennock <pdp@exim.org> | 2011-10-05 00:26:33 -0400 |
---|---|---|
committer | Phil Pennock <pdp@exim.org> | 2011-10-05 00:26:33 -0400 |
commit | 1abf359cf07b59ac99e45c1cefd81c4b5edb312d (patch) | |
tree | 1f403af297948e9932d3fad07d7901d13a5f6bf8 | |
parent | 28c6059071a8c9db89aa34c70e9a4b0dc4000f26 (diff) |
test for .git dir with -d not -e; more portable
-rwxr-xr-x | src/scripts/reversion | 2 |
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. |