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

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