Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r11563 - main/trunk/bin
Date: Sat, 27 Sep 2008 00:08:46
Message-Id: E1KjNMZ-00076L-HO@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-09-27 00:08:42 +0000 (Sat, 27 Sep 2008)
3 New Revision: 11563
4
5 Modified:
6 main/trunk/bin/ebuild.sh
7 Log:
8 Make $PWD default to $PORTAGE_BUILDDIR since $WORKDIR is sometimes created
9 later.
10
11
12 Modified: main/trunk/bin/ebuild.sh
13 ===================================================================
14 --- main/trunk/bin/ebuild.sh 2008-09-26 23:00:01 UTC (rev 11562)
15 +++ main/trunk/bin/ebuild.sh 2008-09-27 00:08:42 UTC (rev 11563)
16 @@ -272,8 +272,8 @@
17 export EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} $*"
18 }
19
20 -# Ensure that $CWD is sane whenever possible.
21 -cd "$WORKDIR" 2>/dev/null
22 +# Ensure that $PWD is sane whenever possible.
23 +cd "$PORTAGE_BUILDDIR" 2>/dev/null
24
25 #if no perms are specified, dirs/files will have decent defaults
26 #(not secretive, but not stupid)