Fix quoting of ${D} in make arguments for einstall(). Thanks to Volkov Peter <pva...
authorZac Medico <zmedico@gentoo.org>
Fri, 29 Sep 2006 17:47:35 +0000 (17:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 29 Sep 2006 17:47:35 +0000 (17:47 -0000)
svn path=/main/trunk/; revision=4557

bin/ebuild.sh

index b577fa3631f54253e3b429a347a46f829f1eb667..7ace2fab64ecf150154cd9c9bb4ae8c40ed288c8 100755 (executable)
@@ -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