mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-21 09:51:13 +00:00
b7012d2787
REMOTE_DIR defaults to ~/gps-denied-onboard. rsync expands the leading tilde server-side, but the later 'bash -s <<EOF' heredoc embeds the value literally inside cd "$REMOTE_DIR" -- and bash does NOT expand ~ inside double quotes, so the heredoc step bails out with 'No such file or directory'. Resolve any leading ~ against the remote $HOME up-front so the value is safe to double-quote in both contexts. The previous successful Jetson runs (tasks 2388 / 915484) were one-off ssh commands that never hit this code path; this commit makes the script actually work end-to-end. Co-authored-by: Cursor <cursoragent@cursor.com>