Skip to content

Commit

Permalink
debug code
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 10a05b2 commit d0d920c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/tests/functionLibraryTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d0d920c

Please sign in to comment.