Disable Shellcheck warning SC2162 ("read without -r with mangle

backslashes") in two places. We can't easily resolve these.
This commit is contained in:
Ben Elliston 2019-01-03 12:02:57 +11:00
parent 5fe51ffd1b
commit a2e10dfcf0

2
config.sub vendored
View File

@ -111,6 +111,7 @@ case $# in
esac esac
# Split fields of configuration type # Split fields of configuration type
# shellcheck disable=SC2162
IFS="-" read field1 field2 field3 field4 <<EOF IFS="-" read field1 field2 field3 field4 <<EOF
$1 $1
EOF EOF
@ -918,6 +919,7 @@ case $basic_machine in
;; ;;
*-*) *-*)
# shellcheck disable=SC2162
IFS="-" read cpu vendor <<EOF IFS="-" read cpu vendor <<EOF
$basic_machine $basic_machine
EOF EOF