Fix quoting as reported by Drac in bug 194169
authorAlec Warner <antarus@gentoo.org>
Sat, 29 Sep 2007 07:45:01 +0000 (07:45 -0000)
committerAlec Warner <antarus@gentoo.org>
Sat, 29 Sep 2007 07:45:01 +0000 (07:45 -0000)
svn path=/main/trunk/; revision=7878

bin/ebuild.sh
bin/isolated-functions.sh
bin/prepallman

index 7143713529466b224117797747ecd6ac2ec1cae0..d1507d86a3dfdeb66f16a5fed8f592dd6fb9e582 100755 (executable)
@@ -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.
index 1ac593ee264d33cee7d3deb8ea8e5a31d8a8d53b..00f43d2d4ba57a129509c891a3686f5fee63e168 100755 (executable)
@@ -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
 }
 
index 747ed1fac511bc3a22921254e08e0545bf78691a..7af1b16043c3f5ed36aed004ca1f9235434d030c 100755 (executable)
@@ -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