aboutsummaryrefslogtreecommitdiff
path: root/installer/go_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'installer/go_install.sh')
-rwxr-xr-xinstaller/go_install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/go_install.sh b/installer/go_install.sh
index 5a682a7..d29158e 100755
--- a/installer/go_install.sh
+++ b/installer/go_install.sh
@@ -1,9 +1,9 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Usage
# $ go_install [GO_GET_URLPATH]
set -e
-GOPATH=$(pwd) GOBIN=$(pwd) GO111MODULE=on go get -v -up$1
+GOPATH=$(pwd) GOBIN=$(pwd) GO111MODULE=on go get -v -u $1
rm -rf src