summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/isolated-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 5401e253..fa23b667 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -43,7 +43,7 @@ dump_trace() {
eerror "Call stack:"
while (( n > ${strip} )) ; do
funcname=${FUNCNAME[${n} - 1]}
- sourcefile=$(basename ${BASH_SOURCE[${n}]})
+ sourcefile=$(basename "${BASH_SOURCE[${n}]}")
lineno=${BASH_LINENO[${n} - 1]}
# Display function arguments
args=