asdf-golang/bin/exec-env
Kenny Parnell b1990b0a23
Add bin/download per latest asdf guidelines (#45)
- Creates a temporary directory if using an older version of asdf.
- Install delegates to bin/download if using an older version of asdf.
2021-01-04 17:36:54 -05:00

12 lines
233 B
Bash
Executable File

#!/usr/bin/env bash
if [ "${ASDF_INSTALL_VERSION}" != 'system' ] ; then
if [ "$GOROOT" = "" ] ; then
export GOROOT=$ASDF_INSTALL_PATH/go
fi
if [ "$GOPATH" = "" ] ; then
export GOPATH=$ASDF_INSTALL_PATH/packages
fi
fi