Portability improvement
[coreboot.git] / Makefile.inc
index d36d15f458cf422f82ce07c10efd30f08bee8727..86a072ab49a630f387d8ac66340d9520107f8536 100644 (file)
@@ -225,7 +225,7 @@ lint lint-stable:
                grep "^# DESCR:" $$script | sed "s,.*DESCR: *,," ; \
                echo ========; \
                $$script > $$LINTLOG; \
-               if [ `echo $$( wc -l $$LINTLOG ) | cut -d' ' -f1` -eq 0 ]; then \
+               if [ `cat $$LINTLOG | wc -l` -eq 0 ]; then \
                        printf "success\n\n"; \
                else \
                        echo test failed: ; \