Quote ${PORTAGE_ECLASS_LOCATIONS[@]}
authorZac Medico <zmedico@gentoo.org>
Mon, 22 Jul 2013 20:47:50 +0000 (13:47 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 22 Jul 2013 20:47:50 +0000 (13:47 -0700)
bin/ebuild.sh

index 7ef8a769c6beeb83c10e197afab29053a743e798..18703bb8ad9a4cfcf148af3197385f9fd8447bf5 100755 (executable)
@@ -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}"