Shellchecks

This commit is contained in:
Kroese 2023-04-02 08:58:12 +02:00
parent a158572279
commit ca69cf511d
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
set -eu
IMG="/storage"
BASE=$(basename $URL .pat)
BASE=$(basename "$URL" .pat)
[ ! -f "/run/server.sh" ] && echo "Script must run inside Docker container!" && exit 60

2
run.sh
View File

@ -10,7 +10,7 @@ else
fi
IMG="/storage"
BASE=$(basename $URL .pat)
BASE=$(basename "$URL" .pat)
FILE="$IMG/$BASE.boot.img"
[ ! -f "$FILE" ] && echo "ERROR: Synology DSM boot-image does not exist ($FILE)" && exit 81