summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 1 insertions, 3 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