fix: Strip query parameters from filename (#350)
This commit is contained in:
parent
b52c8d8a2a
commit
ceba754d75
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ if [ -z "$BOOT" ]; then
|
|||
fi
|
||||
|
||||
BASE=$(basename "$BOOT")
|
||||
BASE="${BASE%%\?*}"
|
||||
|
||||
[ -f "$STORAGE/$BASE" ] && return 0
|
||||
|
||||
TMP="$STORAGE/${BASE%.*}.tmp"
|
||||
|
|
Loading…
Reference in a new issue