1
0
Fork 0
mirror of https://git.madhouse-project.org/actions/nix.git synced 2025-05-09 21:59:53 +02:00

ci: Add a shellcheck workflow, and fix SC2086 in develop

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
Gergely Nagy 2023-09-22 22:34:09 +02:00
parent 29ec176179
commit 9cdda9ed9f
2 changed files with 31 additions and 1 deletions

View file

@ -6,7 +6,7 @@ trap 'rm -rf "$workdir"' EXIT
echo "${INPUT_RUN}" >"${workdir}/run.sh"
__cmd="develop"
if [ "$(basename $0)" = "nix-shell" ]; then
if [ "$(basename "$0")" = "nix-shell" ]; then
__cmd="shell"
fi