logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git

shellcheck (397B)


  1. #!/bin/sh
  2. # SPDX-FileCopyrightText: 2017-2022 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. # SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
  4. set -ex
  5. SHELLCHECK="${SHELLCHECK:-shellcheck}"
  6. ${SHELLCHECK} "$0"
  7. cd "$(dirname "$0")"
  8. # shellcheck disable=SC2046
  9. ${SHELLCHECK} --shell=sh -x $(grep atf_test_program ./Kyuafile | sed -E 's;^atf_test_program\{name="([^"]*)".*;./\1;')