summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2011-10-03 19:16:36 -0400
committerPhil Pennock <pdp@exim.org>2011-10-03 19:16:36 -0400
commitc6554334704090e9c8aa81fa34140da7b5fd9ae6 (patch)
treed531a308c1e34474e1e0f0bafcb9feec31e61598
parent0d0e445543703d3294a16a17a4606c9eade7afcb (diff)
source referenced version.sh file alwaysexim-4_77_RC2
Tested for version.sh in cwd, but used . to source, assuming that would pull in file from cwd. True on BSD (checked after $PATH) but not part of POSIX and not true for bash when in POSIX mode.
-rwxr-xr-xsrc/scripts/reversion4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/reversion b/src/scripts/reversion
index 7bc56f620..32a867f25 100755
--- a/src/scripts/reversion
+++ b/src/scripts/reversion
@@ -5,8 +5,8 @@
# Read version information that was generated by a previous run of
# this script, or during the release process.
-if [ -f version.sh ]
-then . version.sh
+if [ -f ./version.sh ]
+then . ./version.sh
elif [ -f ../src/version.sh ]
then . ../src/version.sh
fi