From e9dc2b6753aa29eb776f15532fdda18f10af5d44 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 15 Jan 2013 12:36:02 -0800 Subject: EbuildMetadataPhase: use dynamic pipe fd Also, remove deprecated code from doebuild (with hardcoded pipe fd). --- bin/ebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index a4be7c067..2293938bc 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -696,9 +696,9 @@ if [[ $EBUILD_PHASE = depend ]] ; then done else for f in ${auxdbkeys} ; do - echo $(echo ${!f}) 1>&9 || exit $? + eval "echo \$(echo \${!f}) 1>&${PORTAGE_PIPE_FD}" || exit $? done - exec 9>&- + eval "exec ${PORTAGE_PIPE_FD}>&-" fi set +f else -- cgit v1.2.3-1-g7c22