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@georgi-clan.de> Reviewed-on: http://review.coreboot.org/777 Tested-by: build bot (Jenkins) Reviewed-by: Bernhard Urban <lewurm@gmail.com>
This commit is contained in:
parent
987e883e6a
commit
c040e476bf
|
@ -225,7 +225,7 @@ lint lint-stable:
|
||||||
grep "^# DESCR:" $$script | sed "s,.*DESCR: *,," ; \
|
grep "^# DESCR:" $$script | sed "s,.*DESCR: *,," ; \
|
||||||
echo ========; \
|
echo ========; \
|
||||||
$$script > $$LINTLOG; \
|
$$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"; \
|
printf "success\n\n"; \
|
||||||
else \
|
else \
|
||||||
echo test failed: ; \
|
echo test failed: ; \
|
||||||
|
|
Loading…
Reference in New Issue