summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2006-01-23 07:55:15 +0000
committerBrian Harring <ferringb@gentoo.org>2006-01-23 07:55:15 +0000
commit1838327ba2c4f0da99fbfda8c3b01420022f4d1a (patch)
treeddae348ff6cb5af1727f842a3915fc35ac259ffc
parenteb0f9fdbd32fdaedf23b44b3cbeccce403713ff3 (diff)
downloadportage-1838327ba2c4f0da99fbfda8c3b01420022f4d1a.tar.gz
portage-1838327ba2c4f0da99fbfda8c3b01420022f4d1a.tar.bz2
portage-1838327ba2c4f0da99fbfda8c3b01420022f4d1a.zip
Added usage info to dump_trace, and credit for the code (eselect authors)
svn path=/main/trunk/; revision=2574
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index ddef536d2..467e796db 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -285,6 +285,9 @@ diefunc() {
}
dump_trace() {
+ # usage- first arg is the number of funcs on the stack to ignore.
+ # defaults to 1 (ignoring dump_trace)
+ # pulled from eselect.
local skip funcname sourcefile lineno
if [[ -n $1 ]]; then
declare -i skip=$1