From 699d3ba1d15a44ac2aea0c6b29db1770de4f9040 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 24 Dec 2008 20:01:44 +0000 Subject: Don't use 'local' builtin outside of a function. svn path=/main/trunk/; revision=12300 --- bin/prepstrip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/prepstrip') 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" -- cgit v1.2.3-1-g7c22