summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index bbdc6606e..7c9123d8d 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1661,8 +1661,7 @@ done
# Save the env only for relevant phases.
if [ -n "${myarg}" ] && \
- [ "${myarg}" != "clean" ] && \
- [ "${myarg}" != "help" ] ; then
+ ! hasq ${myarg} clean help info ; then
# Do not save myarg in the env, or else the above [ -n "$myarg" ] test will
# give a false positive when ebuild.sh is sourced.
unset myarg