Commit ce683ef5 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fix a bash-ism in toplevel Makefile

From: Christoph Hellwig <hch@lst.de>

From: Debian kernel package, author probably Herbert Xu.

 * Fixed bashism in Makefile
parent ff88d7da
...@@ -680,7 +680,7 @@ include/config/MARKER: include/linux/autoconf.h ...@@ -680,7 +680,7 @@ include/config/MARKER: include/linux/autoconf.h
uts_len := 64 uts_len := 64
define filechk_version.h define filechk_version.h
if ((`echo -n "$(KERNELRELEASE)" | wc -c ` > $(uts_len))); then \ if [ `echo -n "$(KERNELRELEASE)" | wc -c ` -gt $(uts_len) ]; then \
echo '"$(KERNELRELEASE)" exceeds $(uts_len) characters' >&2; \ echo '"$(KERNELRELEASE)" exceeds $(uts_len) characters' >&2; \
exit 1; \ exit 1; \
fi; \ fi; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment