Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13380 - main/trunk/bin
Date: Tue, 21 Apr 2009 07:08:59
Message-Id: E1LwA61-0005nP-3M@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-04-21 07:08:44 +0000 (Tue, 21 Apr 2009)
3 New Revision: 13380
4
5 Modified:
6 main/trunk/bin/ebuild.sh
7 Log:
8 Add ${PORTAGE_BIN_PATH}/ebuild-helpers/3 directory to PATH for EAPI 3. Thanks
9 to Tiziano M?\195?\188ller <dev-zero@g.o> for this patch.
10
11
12 Modified: main/trunk/bin/ebuild.sh
13 ===================================================================
14 --- main/trunk/bin/ebuild.sh 2009-04-21 06:08:57 UTC (rev 13379)
15 +++ main/trunk/bin/ebuild.sh 2009-04-21 07:08:44 UTC (rev 13380)
16 @@ -1902,6 +1902,19 @@
17 ebuild_main() {
18 local f x
19
20 + # we may want to make this configurable somewhere else
21 + local ebuild_helpers_path
22 + case ${EAPI} in
23 + 3|3_pre1)
24 + ebuild_helpers_path="${PORTAGE_BIN_PATH}/ebuild-helpers/3:${PORTAGE_BIN_PATH}/ebuild-helpers"
25 + ;;
26 + *)
27 + ebuild_helpers_path="${PORTAGE_BIN_PATH}/ebuild-helpers"
28 + ;;
29 + esac
30 +
31 + export PATH="/usr/local/sbin:/sbin:/usr/sbin:${ebuild_helpers_path}:/usr/local/bin:/bin:/usr/bin:${ROOTPATH}"
32 +
33 if ! hasq $EBUILD_SH_ARGS clean depend help info nofetch ; then
34
35 if hasq distcc $FEATURES ; then