summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-09-29 17:47:35 +0000
committerZac Medico <zmedico@gentoo.org>2006-09-29 17:47:35 +0000
commit4d8e58cd0c11203f127c9ca1431aec41fee4a929 (patch)
tree7bfbaeaa5499bddb14cd99f62ceb114d45d7a776
parent282ebf3e58057c24f3ef40d734876d224bda3d61 (diff)
downloadportage-4d8e58cd0c11203f127c9ca1431aec41fee4a929.tar.gz
portage-4d8e58cd0c11203f127c9ca1431aec41fee4a929.tar.bz2
portage-4d8e58cd0c11203f127c9ca1431aec41fee4a929.zip
Fix quoting of ${D} in make arguments for einstall(). Thanks to Volkov Peter <pva@gentoo.org> for this patch from bug #149494.
svn path=/main/trunk/; revision=4557
-rwxr-xr-xbin/ebuild.sh24
1 files changed, 12 insertions, 12 deletions
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