lib & config: give shellcheck directions (to /dev/null for dynamic, to repo-relative path for static) for all sourced references

- in preparation for tightening the shellcheck severity level
  - it needs to be able to follow all sources; dynamic ones are ignored, static ones need root-relative prefix
This commit is contained in:
Ricardo Pardini
2024-05-18 20:41:18 +02:00
committed by Igor
parent 5fe762e0a3
commit 40371934d2
38 changed files with 41 additions and 1 deletions

View File

@@ -409,6 +409,7 @@ function board_side_bsp_cli_postrm() { # not run here
function board_side_bsp_cli_postinst_base() {
# Source the armbian-release information file
# shellcheck source=/dev/null
[ -f /etc/armbian-release ] && . /etc/armbian-release
# ARMBIAN_PRETTY_NAME is now set in armbian-base-files.