When attempting to close fd 9 at the end of the depend phase, use exec so that
authorZac Medico <zmedico@gentoo.org>
Wed, 10 Dec 2008 02:01:23 +0000 (02:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 10 Dec 2008 02:01:23 +0000 (02:01 -0000)
it really works.

svn path=/main/trunk/; revision=12190

bin/ebuild.sh

index ce6a0673851498c9e5b662c9846cd5bdad5c2e58..7b4fa68689fb1f3a9cd1586ef9b972304cfee4fc 100755 (executable)
@@ -2068,7 +2068,7 @@ ebuild_main() {
                        for f in ${auxdbkeys} ; do
                                echo $(echo ${!f}) 1>&9 || exit $?
                        done
-                       9>&-
+                       exec 9>&-
                fi
                set +f
                ;;