mirror of
git://git.savannah.gnu.org/config.git
synced 2025-06-08 07:20: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:
parent
5fe51ffd1b
commit
a2e10dfcf0
2
config.sub
vendored
2
config.sub
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user