Skip to content

Commit

Permalink
Make shellcheck happy
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeby committed Mar 12, 2020
1 parent 689ac8a commit c9e33dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gimme
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ _env() {
# .exe's don't come in from the .zip with the executable flag set
chmod +x "${1}/bin/"*.exe
# $1 is a cygwin/msys path, but GOROOT needs a Windows path
local -x GOROOT="$(cygpath -wa "$1")"
local -x GOROOT; GOROOT="$(cygpath -wa "$1")"
else
local -x GOROOT="$1"
fi
Expand Down Expand Up @@ -407,7 +407,7 @@ _env() {
_env_alias() {
if [[ "$GIMME_HOSTOS" = windows ]] && command -v cygpath &>/dev/null; then
# $1 is a cygwin/msys path, but GOROOT needs a Windows path
local -x GOROOT="$(cygpath -wa "$1")"
local -x GOROOT; GOROOT="$(cygpath -wa "$1")"
else
local -x GOROOT="$1"
fi
Expand Down

0 comments on commit c9e33dc

Please sign in to comment.