Commit 34452a8
committed
.appveyor.yml: Fix breakage via
The following test cases failed in the initial build:
https://ci.appveyor.com/project/mbland/go-script-bash/build/v1.6.0.1
log/log-command: fatal status for subcommand of command in another
language
vars: run perl script; _GO_* variables are exported
The failures were due to `/tmp` getting expanded to
`C:/Users/appveyor/AppData/Local/Temp/1` and `/c` getting expanded to
`C:`. This is probably because running `bash ./go` directly is setting
`BASH` and other variables using the native path format, rather than the
MSYS2 Unix-like translation.
Launching the `./go` script via `bash -c` should fix this, by ensuring
`./go` launches inside a MSYS2 `bash` process that sets the paths to
the Unix-like format.bash -c
1 parent c97855a commit 34452a8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
0 commit comments