summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-21 06:31:18 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-21 06:31:18 -0700
commit7027a1814073b51f312c059b85f1b664d7ed8b45 (patch)
tree742f1babb86ffad2e5f60236416eedd67dd776cd
parent47dbb75626df75439209981d9aa8bdbdce375b35 (diff)
downloadportage-7027a1814073b51f312c059b85f1b664d7ed8b45.tar.gz
portage-7027a1814073b51f312c059b85f1b664d7ed8b45.tar.bz2
portage-7027a1814073b51f312c059b85f1b664d7ed8b45.zip
Quote arrays in QA_PREBUILT handling.
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 2fbd612bd..84a83fe40 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -2006,7 +2006,7 @@ if ! hasq "$EBUILD_PHASE" clean cleanrm ; then
# fnmatch patterns to regular expressions
for x in QA_DT_HASH QA_DT_NEEDED QA_PRESTRIPPED QA_SONAME ; do
if [[ $(declare -p $x 2>/dev/null) = declare\ -a* ]] ; then
- eval "$x=(\${$x[@]} ${QA_PREBUILT//\*/.*})"
+ eval "$x=(\"\${$x[@]}\" ${QA_PREBUILT//\*/.*})"
else
eval "$x+=\" ${QA_PREBUILT//\*/.*}\""
fi