[coreboot] New patch to review for coreboot: 1b6872f Portability improvement

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Fri Mar 9 23:04:47 CET 2012


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/777

-gerrit

commit 1b6872f126f99e82c26fb67bb09478f9fa7747e6
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Fri Mar 9 23:02:09 2012 +0100

    Portability improvement
    
    Makefile.inc uses $( ) syntax on the shell. That's isn't as universal
    as one would like.
    
    Change-Id: I9a8fd511eef7fefc1458d5bae2cd7ef5475b7392
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 Makefile.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.inc b/Makefile.inc
index d36d15f..86a072a 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -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: ; \




More information about the coreboot mailing list