From: Zac Medico Date: Fri, 29 Sep 2006 17:47:35 +0000 (-0000) Subject: Fix quoting of ${D} in make arguments for einstall(). Thanks to Volkov Peter for this patch from bug #149494. svn path=/main/trunk/; revision=4557 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index b577fa363..7ace2fab6 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -560,21 +560,21 @@ einstall() { if [ -f ./[mM]akefile -o -f ./GNUmakefile ] ; then if [ "${PORTAGE_DEBUG}" == "1" ]; then - make -n prefix=${D}/usr \ - datadir=${D}/usr/share \ - infodir=${D}/usr/share/info \ - localstatedir=${D}/var/lib \ - mandir=${D}/usr/share/man \ - sysconfdir=${D}/etc \ + make -n prefix="${D}/usr" \ + datadir="${D}/usr/share" \ + infodir="${D}/usr/share/info" \ + localstatedir="${D}/var/lib" \ + mandir="${D}/usr/share/man" \ + sysconfdir="${D}/etc" \ ${EXTRA_EINSTALL} \ "$@" install fi - make prefix=${D}/usr \ - datadir=${D}/usr/share \ - infodir=${D}/usr/share/info \ - localstatedir=${D}/var/lib \ - mandir=${D}/usr/share/man \ - sysconfdir=${D}/etc \ + make prefix="${D}/usr" \ + datadir="${D}/usr/share" \ + infodir="${D}/usr/share/info" \ + localstatedir="${D}/var/lib" \ + mandir="${D}/usr/share/man" \ + sysconfdir="${D}/etc" \ ${EXTRA_EINSTALL} \ "$@" install || die "einstall failed" else