summaryrefslogtreecommitdiff
path: root/community/go/go.run
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-07 00:01:27 +0000
committerroot <root@rshg054.dnsready.net>2012-05-07 00:01:27 +0000
commit9d0c8979390868a2913fc8830a9f62a45174746b (patch)
tree33eda0748e0df77a2c70b81836fb1097b44c00c9 /community/go/go.run
parentf37e773fe397778858ea8d51601554863c252536 (diff)
Mon May 7 00:01:27 UTC 2012
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 "$@"