summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/isolated-functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh
index 161937734..f95b207fd 100755
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -37,7 +37,7 @@ dump_trace() {
done
(( p -= ${BASH_ARGC[${n} - 1]} ))
fi
- eerror "${sourcefile}, line ${lineno}: Called ${funcname}${args:+ ${args}}"
+ eerror " ${sourcefile}, line ${lineno}: Called ${funcname}${args:+ ${args}}"
done
}
@@ -47,7 +47,7 @@ diefunc() {
eerror
eerror "ERROR: $CATEGORY/$PF failed."
dump_trace 2
- eerror "$(basename "${BASH_SOURCE[1]}"), line ${BASH_LINENO[0]}: Called die"
+ eerror " ${BASH_SOURCE[1]##*/}, line ${BASH_LINENO[0]}: Called die"
eerror
eerror "${*:-(no error message)}"
eerror "If you need support, post the topmost build error, and the call stack if relevant."