Repository navigation
Commit ba91c6c
committed
fix(cli): resolve msys-form profile paths and create the staging-root chain
cli_windows_staging_root builds the per-user install staging root from
LOCALAPPDATA/USERPROFILE, but msys and CI harnesses export those in POSIX
drive form ("/c/Users/..."), which the CRT cannot resolve, and the target's
AppData\Local ancestors may not exist yet on a fake-profile fixture. Rewrite
a leading "/c/" to native "C:/" before use, create the whole ancestor chain
(a single mkdir left the root missing), and fall back to the temp root only
after verifying the directory exists. Also name the failing sub-step when
private staging cannot even create its directory, so the opaque "did not
remain runnable" message is no longer the only signal.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent 85c2d99 commit ba91c6c
1 file changed
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9556 | 9556 | | |
9557 | 9557 | | |
9558 | 9558 | | |
| 9559 | + | |
| 9560 | + | |
| 9561 | + | |
| 9562 | + | |
| 9563 | + | |
| 9564 | + | |
| 9565 | + | |
| 9566 | + | |
| 9567 | + | |
| 9568 | + | |
| 9569 | + | |
9559 | 9570 | | |
9560 | 9571 | | |
9561 | 9572 | | |
9562 | 9573 | | |
| 9574 | + | |
| 9575 | + | |
| 9576 | + | |
| 9577 | + | |
| 9578 | + | |
| 9579 | + | |
| 9580 | + | |
| 9581 | + | |
| 9582 | + | |
| 9583 | + | |
| 9584 | + | |
| 9585 | + | |
9563 | 9586 | | |
| 9587 | + | |
| 9588 | + | |
| 9589 | + | |
| 9590 | + | |
9564 | 9591 | | |
9565 | 9592 | | |
9566 | 9593 | | |
| |||
9577 | 9604 | | |
9578 | 9605 | | |
9579 | 9606 | | |
| 9607 | + | |
| 9608 | + | |
| 9609 | + | |
| 9610 | + | |
9580 | 9611 | | |
9581 | 9612 | | |
9582 | 9613 | | |
| |||
9679 | 9710 | | |
9680 | 9711 | | |
9681 | 9712 | | |
| 9713 | + | |
| 9714 | + | |
| 9715 | + | |
| 9716 | + | |
9682 | 9717 | | |
9683 | 9718 | | |
9684 | 9719 | | |
| |||
0 commit comments