From: Zac Medico Date: Fri, 12 Dec 2008 21:29:09 +0000 (-0000) Subject: When attempting to close fd 9 at the end of the depend phase, use exec so that X-Git-Tag: v2.1.6.1~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e21955d45f7269ecac144ffecb0a20c5af3c1768;p=portage.git When attempting to close fd 9 at the end of the depend phase, use exec so that it really works. (trunk r12190) svn path=/main/branches/2.1.6/; revision=12223 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index ce6a06738..7b4fa6868 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -2068,7 +2068,7 @@ ebuild_main() { for f in ${auxdbkeys} ; do echo $(echo ${!f}) 1>&9 || exit $? done - 9>&- + exec 9>&- fi set +f ;;