diff --git a/src/re-upload-spiffs.sh b/src/re-upload-spiffs.sh index b640fdc..165a08b 100755 --- a/src/re-upload-spiffs.sh +++ b/src/re-upload-spiffs.sh @@ -29,7 +29,7 @@ upload_dir () { echo Uploading $F DPATH="${PWD##${CHOP:=$PWD}}" case "$F" in - "*.json"|"*.txt" ) + *.json|*.txt ) upload_file "$F" "$DPATH" ;; *)