Improve test_headers.sh: MIN shouldn't match RB_MIN
authorEmil Mikulic <emikulic@gmail.com>
Mon, 20 Jun 2011 12:28:05 +0000 (22:28 +1000)
committerEmil Mikulic <emikulic@gmail.com>
Tue, 21 Jun 2011 12:22:28 +0000 (22:22 +1000)
test_headers.sh

index fef7860..b1f6636 100755 (executable)
@@ -38,7 +38,7 @@ EOF
 
 check_defines() {
   header=$1
-  defines=$2
+  defines="(^|[^a-zA-Z_])($2)"
   files=$3
 
   echo checking $header users...