diff options
| author | Mitchell Riedstra <mitch@x230.home.parents.rygel.us> | 2019-10-17 22:03:05 -0400 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@x230.home.parents.rygel.us> | 2019-10-17 22:03:05 -0400 |
| commit | db09e7e10edee02a01a7dc287b35e46cd75bf6d8 (patch) | |
| tree | 7da718468c6fc4f2ee98c3dbc89655ddebf38642 /mkshrc | |
| parent | 2a71d6d153dcadf5212239f60d82bc2bfffefaa0 (diff) | |
| download | dotfiles-db09e7e10edee02a01a7dc287b35e46cd75bf6d8.tar.gz dotfiles-db09e7e10edee02a01a7dc287b35e46cd75bf6d8.tar.xz | |
Fix the goroot handling in 'set_go'
Diffstat (limited to 'mkshrc')
| -rw-r--r-- | mkshrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -96,7 +96,8 @@ set_go() { export GOPATH="${GOPATH:-$HOME/go}" export PATH="$GOPATH/bin:$PATH" - _gobin="/usr/local/go/bin" + GOROOT="${GOROOT:-/usr/local/go}" + _gobin="${GOROOT}/bin" if [ -e "$_gobin" ] ; then export PATH="$_gobin:$PATH" fi |
