From 19a35944ac0f7010791fd4d7d03147a679bb6446 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 22 Dec 2006 00:53:31 +0000 Subject: Fix the "help" phase so that it works without build dirs. svn path=/main/trunk/; revision=5347 --- bin/ebuild.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index aa0614195..0d26836d9 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1656,7 +1656,9 @@ for myarg in ${EBUILD_SH_ARGS} ; do done # Save the env only for relevant phases. -if [ -n "$myarg" ] && [ "$myarg" != "clean" ]; then +if [ -n "${myarg}" ] && \ + [ "${myarg}" != "clean" ] && \ + [ "${myarg}" != "help" ] ; 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 -- cgit v1.2.3-1-g7c22