dodoc: Add a QA warning when called with no arguments.
authorUlrich Müller <ulm@gentoo.org>
Tue, 20 Aug 2013 14:02:14 +0000 (16:02 +0200)
committerZac Medico <zmedico@gentoo.org>
Wed, 21 Aug 2013 19:20:59 +0000 (12:20 -0700)
See bug #481664 and bug #480892.

bin/ebuild-helpers/doins

index 4679e83a9a7140e100da733cb34faad384991a64..bdcef4883bd83415376814ff59108beb5bddbcde 100755 (executable)
@@ -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