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 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