1885: Fix bug in not returning from the handler on failed authorization.
[arvados.git] / sdk / go / go.sh
index 89f81fb910bd12bf20a110db731d0dc0bb26c283..5553567287388f8e83dbd4b3f5645156ea1b9920 100755 (executable)
@@ -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