git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use C99 initialisations for iterators
[users/heiko/exim.git]
/
src
/
scripts
/
reversion
diff --git
a/src/scripts/reversion
b/src/scripts/reversion
index c82d9c0ace63075bb1127509908d282e4c004f76..0ee2f8dc78a9568e86c50ed2baa6bbd10839d878 100755
(executable)
--- a/
src/scripts/reversion
+++ b/
src/scripts/reversion
@@
-1,5
+1,5
@@
#!/bin/sh
#!/bin/sh
-# Copyright (c) The Exim Maintainers
2017
+# Copyright (c) The Exim Maintainers
1995 - 2018
set -e
LC_ALL=C
set -e
LC_ALL=C
@@
-37,7
+37,7
@@
fi
# If this tree is a git working directory, use that to get version information.
# If this tree is a git working directory, use that to get version information.
-if [ -d ../../.git ] || [ "$1" = "release" ]
+if [ -d ../../.git ] || [
-f ../../.git ] || [
"$1" = "release" ]
then
# Modify the output of git describe into separate parts for
# the name "exim" and the release and variant versions.
then
# Modify the output of git describe into separate parts for
# the name "exim" and the release and variant versions.