From 860f0acbef1ed1d1355107c0f6c80b6fd85d211a Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Sat, 29 Sep 2007 07:45:01 +0000 Subject: Fix quoting as reported by Drac in bug 194169 svn path=/main/trunk/; revision=7878 --- bin/ebuild.sh | 2 +- bin/isolated-functions.sh | 2 +- bin/prepallman | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-1-g7c22