this add some quoting, it's something debian and ubuntu packaging does, but it's pretty clear that it is good in a more general sense.

This commit is contained in:
Isaac Connor 2014-12-17 18:06:14 -05:00
parent 50e6784779
commit 60b69a4174
1 changed files with 2 additions and 2 deletions

View File

@ -443,10 +443,10 @@ if test "$prefix" != "NONE"; then
PERL_SITE_LIB=`perl -V:installsitelib | sed -e "s/.*='\(.*\)';/\1/"` PERL_SITE_LIB=`perl -V:installsitelib | sed -e "s/.*='\(.*\)';/\1/"`
PERL_LIB_PATH=`echo $PERL_SITE_LIB | sed -e "s|^$PERL_SITE_PREFIX||"` PERL_LIB_PATH=`echo $PERL_SITE_LIB | sed -e "s|^$PERL_SITE_PREFIX||"`
EXTRA_PERL_LIB="use lib '$prefix$PERL_LIB_PATH'; # Include custom perl install path" EXTRA_PERL_LIB="use lib '$prefix$PERL_LIB_PATH'; # Include custom perl install path"
PERL_MM_PARMS="PREFIX=$prefix" PERL_MM_PARMS="\"PREFIX=$prefix INSTALLDIRS=vendor\""
else else
EXTRA_PERL_LIB="# Include from system perl paths only" EXTRA_PERL_LIB="# Include from system perl paths only"
PERL_MM_PARMS= PERL_MM_PARMS="\"INSTALLDIRS=vendor\""
fi fi
AC_SUBST(PERL_MM_PARMS) AC_SUBST(PERL_MM_PARMS)
AC_SUBST(EXTRA_PERL_LIB) AC_SUBST(EXTRA_PERL_LIB)