diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-12-24 20:01:44 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-12-24 20:01:44 +0000 |
commit | 699d3ba1d15a44ac2aea0c6b29db1770de4f9040 (patch) | |
tree | 87fbcf57ebe62035d094522110951fe814d099f3 | |
parent | 984b00ff86645e14341c01f8f9f16d29d9fa6c44 (diff) | |
download | portage-699d3ba1d15a44ac2aea0c6b29db1770de4f9040.tar.gz portage-699d3ba1d15a44ac2aea0c6b29db1770de4f9040.tar.bz2 portage-699d3ba1d15a44ac2aea0c6b29db1770de4f9040.zip |
Don't use 'local' builtin outside of a function.
svn path=/main/trunk/; revision=12300
-rwxr-xr-x | bin/prepstrip | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/prepstrip b/bin/prepstrip index 50153102e..3e4473314 100755 --- a/bin/prepstrip +++ b/bin/prepstrip @@ -84,7 +84,7 @@ if ! hasq binchecks ${RESTRICT} && \ scanelf -yqRBF '#k%F' -k '!.symtab' "$@" | sed -e "s#^$D##" > "$log" if [[ -n $QA_PRESTRIPPED && -s $log && \ ${QA_STRICT_PRESTRIPPED-unset} = unset ]] ; then - local shopts=$- + shopts=$- set -o noglob for x in $QA_PRESTRIPPED ; do sed -e "s#^${x#/}\$##" -i "$log" |