github.com/MangoDowner/go-gm@v0.0.0-20180818020936-8baa2bd4408c/misc/nacl/go_nacl_386_exec (about) 1 #!/bin/bash 2 3 eval $(go env) 4 5 export NACLENV_GOARCH=$GOARCH 6 export NACLENV_GOOS=$GOOS 7 export NACLENV_GOROOT=/go 8 export NACLENV_NACLPWD=$(pwd | sed "s;$GOROOT;/go;") 9 10 exec sel_ldr_x86_32 -l /dev/null -S -e "$@"