X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/c5db348c5e29e93e51389fa0079f829967c5da82..120854c10cf350dc2b18bbbbb17fb0b50af91044:/src/scripts/reversion diff --git a/src/scripts/reversion b/src/scripts/reversion index c82d9c0ac..0ee2f8dc7 100755 --- a/src/scripts/reversion +++ b/src/scripts/reversion @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (c) The Exim Maintainers 2017 +# Copyright (c) The Exim Maintainers 1995 - 2018 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 [ -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.