Shellchecks
This commit is contained in:
parent
a158572279
commit
ca69cf511d
2 changed files with 2 additions and 2 deletions
|
@ -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
2
run.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue