macOS: mv -T (GNU flag) breaks capy-install launch/bun publish
bin/gstack-capy-install and bin/gstack-node-runtime.sh use GNU-only mv -T / mv -fT flags. On macOS (BSD mv) this fails with mv: illegal option -- T, so gstack-upgrade fast-forwards the checkout but the reinstall step dies at gstack_launch_dir / bun publish with INSTALL_PREFLIGHT_FAILED.
Repro: macOS, Capy-marked install (.git/gstack-capy-install.state), run bin/gstack-upgrade when a reinstall is pending.
Observed on gstack 1.105.4.0 -> 1.106.1.0.
Sites:
- bin/gstack-node-runtime.sh:95
mv -T "$tmp/pub" "$store/$v" - bin/gstack-node-runtime.sh:116
mv -fT "$tmp/$name" "$dir/$name" - bin/gstack-capy-install:277
mv -fT ... bun/bunx - bin/gstack-capy-install:279
mv -T "$TMP/pub" "$STORE/$WANT"
Local workaround that unblocked the reinstall: drop the -T flags (destinations are files/symlinks the script owns, so plain mv -f is equivalent here).
Checked
Confirmed on main (bin/gstack-capy-install:277,279 and bin/gstack-node-runtime.sh:95,116 use GNU-only mv -T/mv -fT, which fails on macOS BSD mv). A fix is in progress now to replace them with POSIX/BSD-portable publishing and add a regression test.