summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-09-29 07:45:01 +0000
committerAlec Warner <antarus@gentoo.org>2007-09-29 07:45:01 +0000
commit860f0acbef1ed1d1355107c0f6c80b6fd85d211a (patch)
tree8614ec6be0378a765bd8fe76ad19f4e4a2cc5d0b
parentedc2a8d30a984b50a262399e631929a4332f0a14 (diff)
downloadportage-860f0acbef1ed1d1355107c0f6c80b6fd85d211a.tar.gz
portage-860f0acbef1ed1d1355107c0f6c80b6fd85d211a.tar.bz2
portage-860f0acbef1ed1d1355107c0f6c80b6fd85d211a.zip
Fix quoting as reported by Drac in bug 194169
svn path=/main/trunk/; revision=7878
-rwxr-xr-xbin/ebuild.sh2
-rwxr-xr-xbin/isolated-functions.sh2
-rwxr-xr-xbin/prepallman2
3 files changed, 3 insertions, 3 deletions
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