summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-09-29 08:27:51 +0000
committerMike Frysinger <vapier@gentoo.org>2007-09-29 08:27:51 +0000
commita9c7f97052b4f253fdb5fdccb8423e03b8aee6c4 (patch)
tree7f49ed2a45a17122ac8afdd7d44ec917929c348b
parent860f0acbef1ed1d1355107c0f6c80b6fd85d211a (diff)
downloadportage-a9c7f97052b4f253fdb5fdccb8423e03b8aee6c4.tar.gz
portage-a9c7f97052b4f253fdb5fdccb8423e03b8aee6c4.tar.bz2
portage-a9c7f97052b4f253fdb5fdccb8423e03b8aee6c4.zip
revert useless quoting
svn path=/main/trunk/; revision=7879
-rwxr-xr-xbin/ebuild.sh4
-rwxr-xr-xbin/prepallman2
2 files changed, 2 insertions, 4 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index d1507d86a..160bfa3f7 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1479,9 +1479,7 @@ then
fi
#a reasonable default for $S
-if [ "$S" = "" ]; then
- export S="${WORKDIR}/${P}"
-fi
+[[ -z ${S} ]] && export S=${WORKDIR}/${P}
#wipe the interceptors. we don't want saved.
if hasq "depend" "${EBUILD_SH_ARGS}"; then
diff --git a/bin/prepallman b/bin/prepallman
index 7af1b1604..747ed1fac 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