Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
changeset 691:3395d7e9cd15
common.subr: Use a simpler separator (":" instead of a dummy function) to make the first shellcheck directive local
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 01 Oct 2024 15:22:16 +0200 |
| parents | b9194bec5504 |
| children | d1cb22ba641d |
| files | share/local-bsdtools/common.subr |
| diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/share/local-bsdtools/common.subr Tue Oct 01 15:10:14 2024 +0200 +++ b/share/local-bsdtools/common.subr Tue Oct 01 15:22:16 2024 +0200 @@ -12,13 +12,7 @@ #: -#: -#: Dummy function to make the first "shellcheck" directive below non-global -#: for this file. -#: -__dummy_for_shellcheck_must_be_first_function_in_common_subr() { - : -} +: # Dummy separator for shellcheck: no module-wide settings below this line # shellcheck disable=SC2223 # quote
