From: Ulrich Müller Date: Tue, 20 Aug 2013 14:02:14 +0000 (+0200) Subject: dodoc: Add a QA warning when called with no arguments. X-Git-Tag: v2.2.1~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=83ac345bb227dc1752a895d53037fce36c9c7966;p=portage.git dodoc: Add a QA warning when called with no arguments. See bug #481664 and bug #480892. --- diff --git a/bin/ebuild-helpers/doins b/bin/ebuild-helpers/doins index 4679e83a9..bdcef4883 100755 --- a/bin/ebuild-helpers/doins +++ b/bin/ebuild-helpers/doins @@ -11,6 +11,7 @@ if [[ ${helper} == dodoc ]] ; then # default_src_install may call dodoc with no arguments # when DOC is defined but empty, so simply return # sucessfully in this case. + eqawarn "QA Notice: dodoc called with no arguments" exit 0 fi export INSOPTIONS=-m0644