aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-14 22:32:36 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-14 22:32:36 +0000
commitbbfb6d291672a9c89d158dea636d1067397a9c13 (patch)
tree2da48bbe37f0df6324eaaf1f3b6a63802a962a21
parenta397b513f5a84c85947aff1ddeb6a0a40be8eb14 (diff)
downloadpaludis-bbfb6d291672a9c89d158dea636d1067397a9c13.tar.gz
paludis-bbfb6d291672a9c89d158dea636d1067397a9c13.tar.xz
Display full filenames in die backtraces
-rwxr-xr-xebuild/ebuild.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebuild/ebuild.bash b/ebuild/ebuild.bash
index e4b249c..777e8d2 100755
--- a/ebuild/ebuild.bash
+++ b/ebuild/ebuild.bash
@@ -55,7 +55,7 @@ diefunc()
echo "!!! Call stack:" 1>&2
for (( n = 1 ; n < ${#FUNCNAME[@]} ; ++n )) ; do
funcname=${FUNCNAME[${n}]}
- sourcefile=$(basename ${BASH_SOURCE[${n}]})
+ sourcefile=${BASH_SOURCE[${n}]}
lineno=${BASH_LINENO[$(( n - 1 ))]}
echo "!!! * ${funcname} (${sourcefile}:${lineno})" 1>&2
done