X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/34ab7b208c7eb14ccae1e31831286acf9ea29487..3e3389504c6841e160ac086328693001261e016d:/sdk/go/go.sh?ds=sidebyside diff --git a/sdk/go/go.sh b/sdk/go/go.sh index 89f81fb910..5553567287 100755 --- a/sdk/go/go.sh +++ b/sdk/go/go.sh @@ -1,6 +1,11 @@ #! /bin/sh -rootdir=$(dirname $0) +# Wraps the 'go' executable with some environment setup. Sets GOPATH, creates +# 'pkg' and 'bin' directories, automatically installs dependencies, then runs +# the underlying 'go' executable with any command line parameters provided to +# the script. + +rootdir=$(readlink -f $(dirname $0)) GOPATH=$rootdir:$GOPATH export GOPATH