revert useless quoting
authorMike Frysinger <vapier@gentoo.org>
Sat, 29 Sep 2007 08:27:51 +0000 (08:27 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 29 Sep 2007 08:27:51 +0000 (08:27 -0000)
svn path=/main/trunk/; revision=7879

bin/ebuild.sh
bin/prepallman

index d1507d86a3dfdeb66f16a5fed8f592dd6fb9e582..160bfa3f74ab0bd26b1f06c16bede95b35b614fb 100755 (executable)
@@ -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
index 7af1b16043c3f5ed36aed004ca1f9235434d030c..747ed1fac511bc3a22921254e08e0545bf78691a 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