Browse Source

Update shellcheck disable

6.9
Darko Poljak 5 months ago
parent
commit
0546283d0e
  1. 1
      cdist/conf/type/__apt_backports/manifest
  2. 1
      cdist/conf/type/__package_pkg_freebsd/gencode-remote
  3. 1
      cdist/conf/type/__ssh_authorized_keys/explorer/keys

1
cdist/conf/type/__apt_backports/manifest

@ -28,6 +28,7 @@
# lsb_release may not be given in all installations
codename_os_release() {
# shellcheck disable=SC1090
# shellcheck disable=SC1091
. "$__global/explorer/os_release"
printf "%s" "$VERSION_CODENAME"
}

1
cdist/conf/type/__package_pkg_freebsd/gencode-remote

@ -37,6 +37,7 @@ assert () # If condition false,
then
echo "Assertion failed: \"$1\""
# shellcheck disable=SC2039
# shellcheck disable=SC3044
echo "File \"$0\", line $lineno, called by $(caller 0)"
exit $E_ASSERT_FAILED
fi

1
cdist/conf/type/__ssh_authorized_keys/explorer/keys

@ -1,6 +1,7 @@
#!/bin/sh -e
# shellcheck disable=SC1090
# shellcheck disable=SC1091
file="$( . "$__type_explorer/file" )"
if [ -f "$file" ]

Loading…
Cancel
Save