From 12c768cae183f234a8877619c695a61fe392de38 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 18 Aug 2025 01:41:55 -0500 Subject: [PATCH] Fix shellcheck --- distros/debian/11/update.sh | 2 +- distros/debian/12/update.sh | 2 +- distros/debian/13/update.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/distros/debian/11/update.sh b/distros/debian/11/update.sh index afdcac7..01fcfc0 100755 --- a/distros/debian/11/update.sh +++ b/distros/debian/11/update.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -root="$(cd "$(dirname "$0")"; pwd)" +root="$(cd "$(dirname "$0")" || exit; pwd)" hcl="$root/amd64.pkrvars.hcl" base="https://cdimage.debian.org/cdimage/archive/latest-oldoldstable/arm64/iso-cd/" diff --git a/distros/debian/12/update.sh b/distros/debian/12/update.sh index 493738a..910fd7c 100755 --- a/distros/debian/12/update.sh +++ b/distros/debian/12/update.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -root="$(cd "$(dirname "$0")"; pwd)" +root="$(cd "$(dirname "$0")" || exit; pwd)" hcl="$root/amd64.pkrvars.hcl" base="https://cdimage.debian.org/cdimage/archive/latest-oldstable/arm64/iso-cd/" diff --git a/distros/debian/13/update.sh b/distros/debian/13/update.sh index 43934d7..79f45ee 100755 --- a/distros/debian/13/update.sh +++ b/distros/debian/13/update.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -root="$(cd "$(dirname "$0")"; pwd)" +root="$(cd "$(dirname "$0")" || exit; pwd)" hcl="$root/amd64.pkrvars.hcl" base="https://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/"