mirror of
https://github.com/Febbweiss/rclone_script.git
synced 2026-03-04 22:25:36 +00:00
Fixed regression when using the default save filter to not find saves for games with spaces in their name
This commit is contained in:
@@ -169,6 +169,7 @@ function prepareSaveFilters ()
|
||||
localFilter="${romfilebase//\[/\\[}"
|
||||
localFilter="${localFilter//\]/\\]}.*"
|
||||
remoteFilter="${localFilter}"
|
||||
localFilter=("-iname" "${localFilter}")
|
||||
|
||||
else
|
||||
|
||||
@@ -336,7 +337,7 @@ function uploadSaves ()
|
||||
|
||||
return
|
||||
fi
|
||||
|
||||
|
||||
localfiles=$(find ${saveFilePath} -type f "${localFilter[@]}")
|
||||
|
||||
if [ "${localfiles}" = "" ]
|
||||
|
||||
Reference in New Issue
Block a user