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