unset x to avoid global env pollution.
authorZac Medico <zmedico@gentoo.org>
Fri, 23 Nov 2007 10:32:46 +0000 (10:32 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 23 Nov 2007 10:32:46 +0000 (10:32 -0000)
svn path=/main/trunk/; revision=8619

bin/ebuild.sh

index 132da2c1103ec64aa24b88fdf88bbb33d8b06596..22018b3e7e6f203f84cd257b8aa3d39b165b556c 100755 (executable)
@@ -1669,6 +1669,7 @@ for x in ${PROFILE_PATHS}; do
        unset IFS
        [ -f "${x}/profile.bashrc" ] && qa_source "${x}/profile.bashrc"
 done
+unset x
 restore_IFS
 
 # We assume if people are changing shopts in their bashrc they do so at their