Unverified Commit ceba754d authored by Kroese's avatar Kroese Committed by GitHub
Browse files

fix: Strip query parameters from filename (#350)

parent b52c8d8a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ if [ -z "$BOOT" ]; then
fi

BASE=$(basename "$BOOT")
BASE="${BASE%%\?*}"

[ -f "$STORAGE/$BASE" ] && return 0

TMP="$STORAGE/${BASE%.*}.tmp"