projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
710ccce
)
Make $PWD default to $PORTAGE_BUILDDIR since $WORKDIR is sometimes created
author
Zac Medico
<zmedico@gentoo.org>
Sat, 27 Sep 2008 00:08:42 +0000
(
00:08
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 27 Sep 2008 00:08:42 +0000
(
00:08
-0000)
later.
svn path=/main/trunk/; revision=11563
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index f03e418d0af1235512cc6e40461d9d8078f914e7..987d1a4757cf0b33d34d8b983c88859a6f7cfbf8 100755
(executable)
--- a/
bin/ebuild.sh
+++ b/
bin/ebuild.sh
@@
-272,8
+272,8
@@
register_die_hook() {
export EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} $*"
}
-# Ensure that $
C
WD is sane whenever possible.
-cd "$
WORK
DIR" 2>/dev/null
+# Ensure that $
P
WD is sane whenever possible.
+cd "$
PORTAGE_BUILD
DIR" 2>/dev/null
#if no perms are specified, dirs/files will have decent defaults
#(not secretive, but not stupid)