Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Farley <[email protected]>
  • Loading branch information
adamfarley committed Dec 17, 2024
1 parent 6d0cc98 commit 850f1d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tests/functionLibraryTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ scriptDir="${scriptLocation%/*}/"
[[ ! "${scriptDir}" =~ .*tests/$ ]] && echo "D2: ${scriptDir}"
[[ ! -x "${scriptDir}" || ! "${scriptDir}" =~ .*tests/$ ]] && echo "D3: ${scriptDir}"
[[ ! -x "${scriptDir}" || ! "${scriptDir}" =~ .*tests/$ ]] && scriptDir="./"
[[ ! -x "${scriptDir}/../functionLibrary.sh" ]] && echo "D4: ${scriptDir} $(ls ..)"
[[ ! -x "${scriptDir}/../functionLibrary.sh" ]] && echo "D4: ${scriptDir} $(ls ${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"
Expand Down

0 comments on commit 850f1d2

Please sign in to comment.