diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-04-06 21:44:18 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-04-06 21:44:18 +0000 |
commit | 756dddbbe7b47e9e4456d0eabfb0b4d65fc8a3f1 (patch) | |
tree | 1611abc71de4e1062f3ae0d6af4a72b82b7a8c82 | |
parent | 4219b23bda13ebe28c731986915faf59164fe258 (diff) | |
download | portage-756dddbbe7b47e9e4456d0eabfb0b4d65fc8a3f1.tar.gz portage-756dddbbe7b47e9e4456d0eabfb0b4d65fc8a3f1.tar.bz2 portage-756dddbbe7b47e9e4456d0eabfb0b4d65fc8a3f1.zip |
Fix BASH_ARGC and BASH_ARGV offsets some more.
svn path=/main/trunk/; revision=9734
-rwxr-xr-x | bin/isolated-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 28653faf9..737c5dfb4 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -26,8 +26,8 @@ dump_trace() { (( p = ${#BASH_ARGV[@]} )) while (( n > 0 )) ; do [ "${FUNCNAME[${n}]}" == "qa_call" ] && break + (( p -= ${BASH_ARGC[${n}]} )) (( n-- )) - (( p -= ${BASH_ARGC[${n} - 1]} )) done if (( n == 0 )) ; then (( n = ${#FUNCNAME[@]} - 1 )) |