summaryrefslogtreecommitdiff
path: root/misc/nacl/go_nacl_amd64p32_exec
blob: 0a5ed651f141bf6c5d1b449cb302ea0ad49cf5f0 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

eval $(go env)

export NACLENV_GOARCH=$GOARCH
export NACLENV_GOOS=$GOOS
export NACLENV_GOROOT=/go
export NACLENV_NACLPWD=$(pwd | sed "s;$GOROOT;/go;")

exec sel_ldr_x86_64 -l /dev/null -S -e "$@"