Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Add 'go' wrappers, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
nelhage committed May 26, 2014
1 parent c5a9d8c commit bdd3e64
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
go_base="/home/nelhage/sw/go"

: ${GO_VERSION:=$(readlink "$go_base/default")}
export GOROOT="$go_base/$GO_VERSION"

exec "$go_base/$GO_VERSION/bin/$(basename "$0")" "$@"
1 change: 1 addition & 0 deletions godoc
1 change: 1 addition & 0 deletions gofmt

0 comments on commit bdd3e64

Please sign in to comment.