~whereswaldon/gover

570e8d2d88fc8d030f249b37ad89bb08d7bdcdc3 — Chris Waldon 2 years ago 79846e8
feat: ensure target bin dir exists

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M gover
M gover => gover +1 -1
@@ 11,7 11,7 @@ current_os() {
SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
TARGET_VERSION=${1:-latest}
PREFIX=${PREFIX:-$(dirname "$SCRIPT_DIR")}
mkdir -p "$PREFIX"/lib
mkdir -p "$PREFIX"/lib "$PREFIX"/bin
GOOS=$(current_os)
GOARCH=amd64 # TODO: find a portable way to determine this without go installed