At least shellcheck is happy?

This commit is contained in:
2026-02-28 17:51:34 -06:00
parent 95a05a579e
commit 8a157a469a

View File

@@ -18,12 +18,11 @@ cd recalbox-savesync || {
exit 1 exit 1
} }
re="'^[yY][eE]?[sS]?$'" while true
result=0 do
while [ "$result" -ne 1 ]; do read -rp "What's your rclone prefix? : " prefix
read -rp "\nWhat's your rclone prefix? : " prefix
read -rp "Is $prefix okay? [y/N]: " ans read -rp "Is $prefix okay? [y/N]: " ans
result=$(grep -E -c "$re" "$ans") if [[ "$ans" =~ ^[yY][eE]?[sS]?$ ]]; then break; fi
done done
touch /tmp/savesync touch /tmp/savesync