[PATCH] x86/kernel/cpu/mkcapflags.sh bash-ism
From: Sylvain BERTRAND
Date: Tue Dec 23 2014 - 07:39:19 EST
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@xxxxxxxxxx>
Signed-off-by: Sylvain BERTRAND <sylvain.bertrand@xxxxxxxxx>
---
--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/