[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141223123912.GA1386@localhost.localdomain>
Date: Tue, 23 Dec 2014 13:39:12 +0100
From: Sylvain BERTRAND <sylvain.bertrand@...il.com>
To: x86@...nel.org
Cc: linux-kernel@...r.kernel.org, mingo@...nel.org
Subject: [PATCH] x86/kernel/cpu/mkcapflags.sh bash-ism
Chocked while compiling linux with dash shell instead of bash shell.
See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
Cc: Ingo Molnar <mingo@...nel.org>
Signed-off-by: Sylvain BERTRAND <sylvain.bertrand@...il.com>
---
--- a/arch/x86/kernel/cpu/mkcapflags.sh
+++ b/arch/x86/kernel/cpu/mkcapflags.sh
@@ -28,7 +28,7 @@
# If the /* comment */ starts with a quote string, grab that.
VALUE="$(echo "$i" | sed -n 's@.*/\* *\("[^"]*"\).*\*/@\1@p')"
[ -z "$VALUE" ] && VALUE="\"$NAME\""
- [ "$VALUE" == '""' ] && continue
+ [ "$VALUE" = '""' ] && continue
# Name is uppercase, VALUE is all lowercase
VALUE="$(echo "$VALUE" | tr A-Z a-z)"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists