From c6554334704090e9c8aa81fa34140da7b5fd9ae6 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Mon, 3 Oct 2011 19:16:36 -0400 Subject: source referenced version.sh file always 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. --- src/scripts/reversion | 4 ++-- 1 file 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 -- cgit v1.2.3