summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh4
-rw-r--r--bin/isolated-functions.sh2
2 files changed, 2 insertions, 4 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 79bfaf062..f9829fee4 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1589,9 +1589,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/isolated-functions.sh b/bin/isolated-functions.sh
index 01fbbf272..bb119b98e 100644
--- a/bin/isolated-functions.sh
+++ b/bin/isolated-functions.sh
@@ -24,7 +24,7 @@ elog_base() {
return 1
;;
esac
- echo -e "$*" >> ${T}/logging/${EBUILD_PHASE:-other}.${messagetype}
+ echo -e "$*" >> "${T}/logging/${EBUILD_PHASE:-other}.${messagetype}"
return 0
}