summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-12-10 02:01:23 +0000
committerZac Medico <zmedico@gentoo.org>2008-12-10 02:01:23 +0000
commit73bf16c7e0cfd4a9f2c8b4b65c28b25e9c0d1f21 (patch)
tree228be0bd4e1f4977ec760a869033df6d0f0d7122
parente7b171c7a5accdae760596144bebb602871d4a95 (diff)
downloadportage-73bf16c7e0cfd4a9f2c8b4b65c28b25e9c0d1f21.tar.gz
portage-73bf16c7e0cfd4a9f2c8b4b65c28b25e9c0d1f21.tar.bz2
portage-73bf16c7e0cfd4a9f2c8b4b65c28b25e9c0d1f21.zip
When attempting to close fd 9 at the end of the depend phase, use exec so that
it really works. svn path=/main/trunk/; revision=12190
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
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
;;