go-script-bash icon indicating copy to clipboard operation
go-script-bash copied to clipboard

Doument POSIX path translation in MSYS2

Open mbland opened this issue 8 years ago • 1 comments

Adding the following to go-core.bash would avoid some nasty surprises:

if [[ "$OSTYPE" == 'msys' ]]; then
  export MSYS_NO_PATHCONV='true'
  export MSYS2_ARG_CONV_EXCL='*'
fi

per: How to stop mingw and msys from mangling path names given at the command line? (Stack Overflow)

This may have ramifications for the ./go get command, though I'm not sure yet.

mbland avatar May 29 '17 18:05 mbland

Per mbland/url-pointers#62, setting this at the top level actually breaks some programs, notably npm install. So rather than automatically disabling it, it should be better documented somewhere.

mbland avatar May 29 '17 18:05 mbland