From: Jim Meyering Date: Wed, 24 Mar 2010 08:32:43 +0000 (+0100) Subject: maint: add syntax-check rule to prohibit use of test's -a operator X-Git-Tag: v0.8.0~227 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95c8ddd2eca90e3024a6f74af84517c1e0115a60;p=thirdparty%2Flibvirt.git maint: add syntax-check rule to prohibit use of test's -a operator * cfg.mk (sc_prohibit_test_minus_a): New rule. --- diff --git a/cfg.mk b/cfg.mk index 2d0d278e14..4302338cc8 100644 --- a/cfg.mk +++ b/cfg.mk @@ -269,6 +269,12 @@ sc_preprocessor_indentation: echo '$(ME): skipping test $@: cppi not installed' 1>&2; \ fi +# Using test's -a operator is not portable. +sc_prohibit_test_minus_a: + @re='\