diff options
author | Andrew Morton <akpm@osdl.org> | 2004-05-24 18:39:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-24 18:39:18 -0700 |
commit | ce683ef56705500b7128ca580cf9a72027ed6d8b (patch) | |
tree | e4250e7fd4c72531cb1386281f3997327c31a0aa /Makefile | |
parent | ff88d7dab61c0463d08cef5b097eaf63c5599a1e (diff) | |
download | history-ce683ef56705500b7128ca580cf9a72027ed6d8b.tar.gz |
[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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 3762650ef0d47..35c84be2cb14b 100644 --- a/Makefile +++ b/Makefile @@ -680,7 +680,7 @@ include/config/MARKER: include/linux/autoconf.h uts_len := 64 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; \ exit 1; \ fi; \ |