Messages in this thread Patch in this message | | | Date | Mon, 27 Apr 2015 15:21:02 +0000 | From | sylvain.bertrand@gmail ... | Subject | Re: [PATCH] x86: Fix mkcapflags.sh bash-ism again |
| |
While compiling linux, dash shell reports a bash-ism:
/src/linux-4.0/arch/x86/kernel/cpu/mkcapflags.sh: 9: /src/linux-4.0/arch/x86/kernel/cpu/mkcapflags.sh: Syntax error: "(" unexpected
See: http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_05
Cc: Ingo Molnar <mingo@kernel.org> Signed-off-by: Sylvain BERTRAND <sylvain.bertrand@gmail.com> --- Forgot that fix: --- a/arch/x86/kernel/cpu/mkcapflags.sh +++ b/arch/x86/kernel/cpu/mkcapflags.sh @@ -6,7 +6,7 @@ IN=$1 OUT=$2 -function dump_array() +dump_array() { ARRAY=$1 SIZE=$2
| |