From: Zac Medico Date: Mon, 22 Jul 2013 20:47:50 +0000 (-0700) Subject: Quote ${PORTAGE_ECLASS_LOCATIONS[@]} X-Git-Tag: v2.2.0_alpha189~31 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d7cc898957c39d58e66558136f4f7fd556411420;p=portage.git Quote ${PORTAGE_ECLASS_LOCATIONS[@]} --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 7ef8a769c..18703bb8a 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -245,7 +245,7 @@ inherit() { fi fi - for repo_location in ${PORTAGE_ECLASS_LOCATIONS[@]}; do + for repo_location in "${PORTAGE_ECLASS_LOCATIONS[@]}"; do potential_location="${repo_location}/eclass/${1}.eclass" if [[ -f ${potential_location} ]]; then location="${potential_location}"