mirror of
git://git.savannah.gnu.org/config.git
synced 2025-07-07 13:48:21 +12:00
Disable Shellcheck warning SC2162 ("read without -r with mangle
backslashes") in two places. We can't easily resolve these.
This commit is contained in:
2
config.sub
vendored
2
config.sub
vendored
@ -111,6 +111,7 @@ case $# in
|
||||
esac
|
||||
|
||||
# Split fields of configuration type
|
||||
# shellcheck disable=SC2162
|
||||
IFS="-" read field1 field2 field3 field4 <<EOF
|
||||
$1
|
||||
EOF
|
||||
@ -918,6 +919,7 @@ case $basic_machine in
|
||||
;;
|
||||
|
||||
*-*)
|
||||
# shellcheck disable=SC2162
|
||||
IFS="-" read cpu vendor <<EOF
|
||||
$basic_machine
|
||||
EOF
|
||||
|
Reference in New Issue
Block a user