X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b668cb88f24085f92858b268120650c28d3a79af..557b0b0e61a16c098785f66e5f10b0b72973d822:/services/keep/go.sh diff --git a/services/keep/go.sh b/services/keep/go.sh index 177b27db03..156fe90df2 100755 --- a/services/keep/go.sh +++ b/services/keep/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:$rootdir/../../sdk/go:$GOPATH export GOPATH