summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-27 06:02:05 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-27 06:02:05 +0000
commit89a12b9e08915a7b48157d1aa726bffd37bebdf8 (patch)
tree74be3b73f99683be4eb6798137019b2599774462
parentb3a76119093d55c8162b8f97605123bb1e732cd0 (diff)
downloadportage-89a12b9e08915a7b48157d1aa726bffd37bebdf8.tar.gz
portage-89a12b9e08915a7b48157d1aa726bffd37bebdf8.tar.bz2
portage-89a12b9e08915a7b48157d1aa726bffd37bebdf8.zip
Temporarily `set -o noglob` when splitting QA_DT_HASH.
svn path=/main/trunk/; revision=11206
-rwxr-xr-xbin/misc-functions.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 369823793..5854de9b6 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -170,9 +170,13 @@ install_qa_check() {
sed -e "s#^${x#/}\$##" -i "${T}"/scanelf-ignored-LDFLAGS.log
done
else
+ local shopts=$-
+ set -o noglob
for x in ${QA_DT_HASH} ; do
sed -e "s#^${x#/}\$##" -i "${T}"/scanelf-ignored-LDFLAGS.log
done
+ set +o noglob
+ set -${shopts}
fi
fi
sed -e "/^\$/d" -e "s#^#/#" -i "${T}"/scanelf-ignored-LDFLAGS.log