public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/kernel/cpu/mkcapflags.sh bash-ism
@ 2014-12-23 12:39 Sylvain BERTRAND
  2014-12-23 14:37 ` [tip:x86/urgent] x86: Fix mkcapflags.sh bash-ism tip-bot for Sylvain BERTRAND
  0 siblings, 1 reply; 2+ messages in thread
From: Sylvain BERTRAND @ 2014-12-23 12:39 UTC (permalink / raw)
  To: x86; +Cc: linux-kernel, mingo

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@kernel.org>
Signed-off-by: Sylvain BERTRAND <sylvain.bertrand@gmail.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)"

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-23 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-23 12:39 [PATCH] x86/kernel/cpu/mkcapflags.sh bash-ism Sylvain BERTRAND
2014-12-23 14:37 ` [tip:x86/urgent] x86: Fix mkcapflags.sh bash-ism tip-bot for Sylvain BERTRAND

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox