From: Alec Warner Date: Sat, 29 Sep 2007 07:45:01 +0000 (-0000) Subject: Fix quoting as reported by Drac in bug 194169 X-Git-Tag: v2.2_pre1~755 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=860f0acbef1ed1d1355107c0f6c80b6fd85d211a;p=portage.git Fix quoting as reported by Drac in bug 194169 svn path=/main/trunk/; revision=7878 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 714371352..d1507d86a 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1480,7 +1480,7 @@ fi #a reasonable default for $S if [ "$S" = "" ]; then - export S=${WORKDIR}/${P} + export S="${WORKDIR}/${P}" fi #wipe the interceptors. we don't want saved. diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 1ac593ee2..00f43d2d4 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -132,7 +132,7 @@ elog_base() { return 1 ;; esac - echo -e "$*" >> ${T}/logging/${EBUILD_PHASE:-other}.${messagetype} + echo -e "$*" >> "${T}/logging/${EBUILD_PHASE:-other}.${messagetype}" return 0 } diff --git a/bin/prepallman b/bin/prepallman index 747ed1fac..7af1b1604 100755 --- a/bin/prepallman +++ b/bin/prepallman @@ -9,7 +9,7 @@ ret=0 find "${D}" -type d -name man > "${T}"/prepallman.filelist while read mandir ; do - mandir=${mandir#${D}} + mandir="${mandir#${D}}" prepman "${mandir%/man}" ((ret+=$?)) done < "${T}"/prepallman.filelist