From 2eab6930cc67c631b679b55f0b588e4f625ebb19 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 6 Aug 2009 19:26:48 +0000 Subject: [PATCH] =?utf8?q?Bug=20#277537=20-=20Synchronize=20order=20of=20P?= =?utf8?q?ATH=20elements=20with=20the=20order=20defined=20by=20/etc/profil?= =?utf8?q?e=20(promote=20paths=20under=20/usr=20to=20the=20front).=20Thank?= =?utf8?q?s=20to=20Micha=C5=82=20G=C3=B3rny=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit svn path=/main/trunk/; revision=13935 --- bin/ebuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 3ee9be0a6..0483046fa 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -22,7 +22,7 @@ ROOTPATH=${ROOTPATH##:} ROOTPATH=${ROOTPATH%%:} PREROOTPATH=${PREROOTPATH##:} PREROOTPATH=${PREROOTPATH%%:} -PATH=$PORTAGE_BIN_PATH/ebuild-helpers:$PREROOTPATH${PREROOTPATH:+:}/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin${ROOTPATH:+:}$ROOTPATH +PATH=$PORTAGE_BIN_PATH/ebuild-helpers:$PREROOTPATH${PREROOTPATH:+:}/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${ROOTPATH:+:}$ROOTPATH export PATH # These two functions wrap sourcing and calling respectively. At present they @@ -1891,7 +1891,7 @@ ebuild_main() { ;; esac - PATH=$ebuild_helpers_path:$PREROOTPATH${PREROOTPATH:+:}/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin${ROOTPATH:+:}$ROOTPATH + PATH=$ebuild_helpers_path:$PREROOTPATH${PREROOTPATH:+:}/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${ROOTPATH:+:}$ROOTPATH unset ebuild_helpers_path if ! hasq $EBUILD_SH_ARGS clean depend help info nofetch ; then -- 2.26.2