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/"