From a29db1f386d1915bc2a357620f7e1cb743bed3c9 Mon Sep 17 00:00:00 2001 From: wytch Date: Sat, 28 Feb 2026 01:57:14 -0600 Subject: [PATCH] Updated basepath to actually be a path --- savesync[rungame,endgame](sync).ash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/savesync[rungame,endgame](sync).ash b/savesync[rungame,endgame](sync).ash index fc791f4..941b9c3 100644 --- a/savesync[rungame,endgame](sync).ash +++ b/savesync[rungame,endgame](sync).ash @@ -29,7 +29,8 @@ echo "$event_data" | while IFS='=' read -r k v; do "GamePath") gp="$val" sp=$(echo "$val" | sed 's|roms|saves|; s|\.[^.]*$|.srm|') - bp=$(echo "$sp" | sed 's|saves|archives|') + bf=$(echo "$sp" | sed 's|saves|archives|') + bp="$(dirname"$bf")/" #log "DEBUG" "Setting values {gp=$gp, sp=$sp, bp=$bp}" ;; "Action")