diff --git a/lib/tests/functionLibraryTests.sh b/lib/tests/functionLibraryTests.sh index f37874be7..0bddb4cb8 100644 --- a/lib/tests/functionLibraryTests.sh +++ b/lib/tests/functionLibraryTests.sh @@ -16,7 +16,9 @@ scriptLocation=$0 scriptDir=${scriptLocation%/*} +echo "scriptdir = ${scriptDir}" [[ ! -x "${scriptDir}" || ! "${scriptDir}" =~ */$ ]] && scriptDir="./" +echo "scriptdir = ${scriptDir}" [[ ! -x "${scriptDir}../functionLibrary.sh" ]] && echo "Error: Please launch this script with a full path, or from within the test directory." && exit 1 source "${scriptDir}/../functionLibrary.sh"