Disable SC2001 for generation of `the_os`

Signed-off-by: Adam Warner <adamw@rner.email>
pull/2118/head
Adam Warner 6 years ago
parent 776ae92416
commit b57b3f4588
No known key found for this signature in database
GPG Key ID: F5410858022DA5EB

@ -365,6 +365,7 @@ check_critical_program_versions() {
is_os_supported() {
local os_to_check="${1}"
# Strip just the base name of the system using sed
# shellcheck disable=SC2001
the_os=$(echo "${os_to_check}" | sed 's/ .*//')
# If the variable is one of our supported OSes,
case "${the_os}" in

Loading…
Cancel
Save