git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28c6059
)
test for .git dir with -d not -e; more portable
author
Phil Pennock
<pdp@exim.org>
Wed, 5 Oct 2011 04:26:33 +0000
(
00:26
-0400)
committer
Phil Pennock
<pdp@exim.org>
Wed, 5 Oct 2011 04:26:33 +0000
(
00:26
-0400)
src/scripts/reversion
patch
|
blob
|
history
diff --git
a/src/scripts/reversion
b/src/scripts/reversion
index ad83fe564e72780914a51072d80591edf1732913..97b8874a55afffe3844524ddd8585de35c9a0fd6 100755
(executable)
--- 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.