Skip to content

Commit

Permalink
./go: Disable MSYS2 POSIX path conversion
Browse files Browse the repository at this point in the history
This was causing paths to get mangled for `./go test browser`, which
launches live-server. For more details, see:

mbland/go-script-bash#176
  • Loading branch information
mbland committed May 29, 2017
1 parent e84f5e6 commit 2597a09
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ fi

export PATH="node_modules/.bin:$PATH"

# Keep this until the following is resolved:
# https://github.com/mbland/go-script-bash/issues/176
if [[ "$OSTYPE" == 'msys' ]]; then
export MSYS_NO_PATHCONV='true'
export MSYS2_ARG_CONV_EXCL='*'
fi

if [[ -t 1 || -n "$TRAVIS" ]]; then
_GO_LOG_FORMATTING='true'
fi
Expand Down

0 comments on commit 2597a09

Please sign in to comment.