revert r11577, a proper fix is in 11630
authorFabian Groffen <grobian@gentoo.org>
Sun, 5 Oct 2008 16:38:39 +0000 (16:38 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 5 Oct 2008 16:38:39 +0000 (16:38 -0000)
svn path=/main/branches/prefix/; revision=11631

bin/ebuild.sh

index 77603e61d75c3f59957f53ef8c9d4d9ed34e60b1..4ea2caf9341fa64960ca7898d5f31b23056f148a 100755 (executable)
@@ -273,7 +273,7 @@ register_die_hook() {
 }
 
 # Ensure that $PWD is sane whenever possible.
-cd "${PORTAGE_BUILDDIR}"/.. 2>/dev/null
+cd "$PORTAGE_BUILDDIR" 2>/dev/null
 
 #if no perms are specified, dirs/files will have decent defaults
 #(not secretive, but not stupid)