Fixed is-java-strict to respect FEATURES=-java-strict
authorJoshua Nichols <nichoj@gentoo.org>
Sat, 5 Aug 2006 20:33:27 +0000 (20:33 +0000)
committerJoshua Nichols <nichoj@gentoo.org>
Sat, 5 Aug 2006 20:33:27 +0000 (20:33 +0000)
eclass/java-utils-2.eclass

index 36e126d538332f8c7d6b7954d34e7715c90d0a64..444b88a38cfebdd873f3611b7ed38b9e4a07ecef 100644 (file)
@@ -1834,7 +1834,7 @@ increment-qa-violations() {
 }
 
 is-java-strict() {
-       hasq java-strict ${FEATURES};
+       hasq java-strict ${FEATURES} && ! hasq -java-strict ${FEATURES}
        return $?
 }