From: Zac Medico Date: Sat, 21 Aug 2010 13:31:18 +0000 (-0700) Subject: Quote arrays in QA_PREBUILT handling. X-Git-Tag: v2.2_rc68~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7027a1814073b51f312c059b85f1b664d7ed8b45;p=portage.git Quote arrays in QA_PREBUILT handling. --- 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