Fix messages broken in r14616. Thanks to Arfrever for reporting and thanks to
authorZac Medico <zmedico@gentoo.org>
Mon, 19 Oct 2009 03:38:22 +0000 (03:38 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 19 Oct 2009 03:38:22 +0000 (03:38 -0000)
Jonathan Callen <abcd@g.o> for this patch. (trunk r14675)

svn path=/main/branches/2.1.7/; revision=14688

bin/ebuild.sh

index 14a311c6186defebc017fe1d1e6c395403a2fb17..1b83620b49b4eb06b465452522c31a9394ae421b 100755 (executable)
@@ -915,7 +915,7 @@ dyn_prepare() {
 
        [ -n "$EBUILD_PHASE" ] && rm -f "$T/logging/$EBUILD_PHASE"
        ebuild_phase pre_src_prepare
-       vecho ">>> Preparing source in $srcdir ..."
+       vecho ">>> Preparing source in $PWD ..."
        ebuild_phase src_prepare
        touch "$PORTAGE_BUILDDIR"/.prepared
        vecho ">>> Source prepared."
@@ -947,7 +947,7 @@ dyn_configure() {
        [ -n "$EBUILD_PHASE" ] && rm -f "$T/logging/$EBUILD_PHASE"
        ebuild_phase pre_src_configure
 
-       vecho ">>> Configuring source in $srcdir ..."
+       vecho ">>> Configuring source in $PWD ..."
        ebuild_phase src_configure
        touch "$PORTAGE_BUILDDIR"/.configured
        vecho ">>> Source configured."
@@ -980,7 +980,7 @@ dyn_compile() {
        [ -n "$EBUILD_PHASE" ] && rm -f "$T/logging/$EBUILD_PHASE"
        ebuild_phase pre_src_compile
 
-       vecho ">>> Compiling source in ${srcdir} ..."
+       vecho ">>> Compiling source in $PWD ..."
        ebuild_phase src_compile
        touch "$PORTAGE_BUILDDIR"/.compiled
        vecho ">>> Source compiled."
@@ -1042,7 +1042,6 @@ dyn_install() {
        ebuild_phase pre_src_install
        rm -rf "${PORTAGE_BUILDDIR}/image"
        mkdir "${PORTAGE_BUILDDIR}/image"
-       local srcdir
        if [[ -d $S ]] ; then
                cd "${S}"
        elif hasq $EAPI 0 1 2; then