summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-08-12 22:40:13 +0000
committerZac Medico <zmedico@gentoo.org>2008-08-12 22:40:13 +0000
commitc9d09c826ba9d9a5cb5695773c30013d00f5320e (patch)
treeacde2a12f05fead5184049606794144fd2fefcc6
parenta5b60005a03208fbde43080ef2919f3cb911faca (diff)
downloadportage-c9d09c826ba9d9a5cb5695773c30013d00f5320e.tar.gz
portage-c9d09c826ba9d9a5cb5695773c30013d00f5320e.tar.bz2
portage-c9d09c826ba9d9a5cb5695773c30013d00f5320e.zip
Fix quoting for iteration over PROFILE_PATHS.
svn path=/main/trunk/; revision=11404
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 8a0adf742..2a434ef75 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1514,7 +1514,7 @@ source_all_bashrcs() {
IFS=$'\n'
local path_array=($PROFILE_PATHS)
restore_IFS
- for x in ${path_array[@]} ; do
+ for x in "${path_array[@]}" ; do
[ -f "${x}/profile.bashrc" ] && qa_source "${x}/profile.bashrc"
done