summaryrefslogtreecommitdiff
path: root/community/go/go.run
diff options
context:
space:
mode:
Diffstat (limited to 'community/go/go.run')
-rw-r--r--community/go/go.run8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/go/go.run b/community/go/go.run
new file mode 100644
index 000000000..2f68ce8ff
--- /dev/null
+++ b/community/go/go.run
@@ -0,0 +1,8 @@
+#!/bin/sh
+if [[ -z $GOROOT ]]; then
+ export GOROOT=/usr/lib/go
+fi
+if [[ -z $GOROOT_FINAL ]]; then
+ export GOROOT_FINAL=$GOROOT
+fi
+/usr/bin/go.elf "$@"