test/parser: Remove gawk specifics
[petitboot] / test / parser / extract-config.awk
index e7a5b33e72bbf4d3b0767cff1a5c782661395233..9c858532282cfc3d2342ce2f89a5f4c5e5de2da4 100644 (file)
@@ -2,7 +2,7 @@ BEGIN {
        config=0
 }
 
-/^#if\s*0\s*\/\*\s*PARSER_EMBEDDED_CONFIG/ {
+/^#if[ \t]*0[ \t]*\/\*[ \t]*PARSER_EMBEDDED_CONFIG/ {
        config=1
        print "#include <stdlib.h>"
        print "const char __embedded_config[] = "