diff options
author | Zac Medico <zmedico@gentoo.org> | 2013-01-15 12:36:02 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2013-01-15 12:36:02 -0800 |
commit | e9dc2b6753aa29eb776f15532fdda18f10af5d44 (patch) | |
tree | 1ed8160ae8ec7ac1dee4c7c78409afb4e88490f8 /bin/ebuild.sh | |
parent | dbe26095102cbdc6d5bef3509f05bc7b42c418cc (diff) | |
download | portage-e9dc2b6753aa29eb776f15532fdda18f10af5d44.tar.gz portage-e9dc2b6753aa29eb776f15532fdda18f10af5d44.tar.bz2 portage-e9dc2b6753aa29eb776f15532fdda18f10af5d44.zip |
EbuildMetadataPhase: use dynamic pipe fd
Also, remove deprecated code from doebuild (with hardcoded pipe fd).
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |