From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R2ub8-0008KI-HJ for garchives@archives.gentoo.org; Mon, 12 Sep 2011 00:42:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FF7B21C043; Mon, 12 Sep 2011 00:41:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CE5EF21C043 for ; Mon, 12 Sep 2011 00:41:57 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F5AE1B400A for ; Mon, 12 Sep 2011 00:41:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 6BAF080042 for ; Mon, 12 Sep 2011 00:41:56 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <29cc214d53c7babfa825c7a07cc8d58b4fe5da95.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ebuild.sh X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 29cc214d53c7babfa825c7a07cc8d58b4fe5da95 Date: Mon, 12 Sep 2011 00:41:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 89143daa0b66905ff6e30624825a9e47 commit: 29cc214d53c7babfa825c7a07cc8d58b4fe5da95 Author: Zac Medico gentoo org> AuthorDate: Mon Sep 12 00:33:18 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Sep 12 00:33:18 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D29cc214d ebuild.sh: setup PATH earlier This avoids "uname: command not found" messages from isolated-functions.sh. --- bin/ebuild.sh | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 42616d0..1cb9269 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -5,6 +5,13 @@ PORTAGE_BIN_PATH=3D"${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}" PORTAGE_PYM_PATH=3D"${PORTAGE_PYM_PATH:-/usr/lib/portage/pym}" =20 +ROOTPATH=3D${ROOTPATH##:} +ROOTPATH=3D${ROOTPATH%%:} +PREROOTPATH=3D${PREROOTPATH##:} +PREROOTPATH=3D${PREROOTPATH%%:} +PATH=3D$PORTAGE_BIN_PATH/ebuild-helpers:$PREROOTPATH${PREROOTPATH:+:}/us= r/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${ROOTPATH:+:}$R= OOTPATH +export PATH + # Prevent aliases from causing portage to act inappropriately. # Make sure it's before everything so we don't mess aliases that follow. unalias -a @@ -47,13 +54,6 @@ fi # environment by modifying our PATH. unset BASH_ENV =20 -ROOTPATH=3D${ROOTPATH##:} -ROOTPATH=3D${ROOTPATH%%:} -PREROOTPATH=3D${PREROOTPATH##:} -PREROOTPATH=3D${PREROOTPATH%%:} -PATH=3D$PORTAGE_BIN_PATH/ebuild-helpers:$PREROOTPATH${PREROOTPATH:+:}/us= r/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${ROOTPATH:+:}$R= OOTPATH -export PATH - # This is just a temporary workaround for portage-9999 users since # earlier portage versions do not detect a version change in this case # (9999 to 9999) and therefore they try execute an incompatible version = of