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
}
re="'^[yY][eE]?[sS]?$'"
result=0
while [ "$result" -ne 1 ]; do
read -rp "\nWhat's your rclone prefix? : " prefix
while true
do
read -rp "What's your rclone prefix? : " prefix
read -rp "Is $prefix okay? [y/N]: " ans
result=$(grep -E -c "$re" "$ans")
if [[ "$ans" =~ ^[yY][eE]?[sS]?$ ]]; then break; fi
done
touch /tmp/savesync