Previous patches introduced some non SUS compliant changes to sync-check.sh.
Replace used bash features for standard shell. Signed-off-by: Julien Thierry <[email protected]> --- tools/objtool/sync-check.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) Note: This patch applies on Josh P.'s objtool/core.WIP.julien branch diff --git a/tools/objtool/sync-check.sh b/tools/objtool/sync-check.sh index b81cda59d878..606a4b5e929f 100755 --- a/tools/objtool/sync-check.sh +++ b/tools/objtool/sync-check.sh @@ -8,7 +8,7 @@ fi FILES="include/linux/objtool.h" -if [ "$SRCARCH" == "x86" ]; then +if [ "$SRCARCH" = "x86" ]; then FILES="$FILES arch/x86/include/asm/inat_types.h arch/x86/include/asm/orc_types.h @@ -60,4 +60,6 @@ while read -r file_entry; do fi check $file_entry -done <<< "$FILES" +done <<EOF +$FILES +EOF -- 2.21.3

