diff options
-rwxr-xr-x | bin/ebuild.sh | 4 | ||||
-rwxr-xr-x | bin/prepallman | 2 |
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 |