projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a756cef
)
fix golang version bad output direction
author
AJ ONeal
<coolaj86@gmail.com>
Sun, 14 Jun 2020 19:29:56 +0000
(13:29 -0600)
committer
AJ ONeal
<coolaj86@gmail.com>
Sun, 14 Jun 2020 19:29:56 +0000
(13:29 -0600)
golang/install.bash
patch
|
blob
|
history
diff --git
a/golang/install.bash
b/golang/install.bash
index 16a601fd6351dd5f611d6fa4eee054029e93d247..fa97d207800cb9846adbfdf263fe06efe005ee1d 100644
(file)
--- a/
golang/install.bash
+++ b/
golang/install.bash
@@
-53,7
+53,7
@@
pkg_get_current_version() {
# go version go1.14.2 darwin/amd64
# This trims it down to just the version number:
# 1.14.2
- echo "$(go version
>2
/dev/null | head -n 1 | cut -d' ' -f3 | sed 's:go::')"
+ echo "$(go version
2>
/dev/null | head -n 1 | cut -d' ' -f3 | sed 's:go::')"
}
pkg_format_cmd_version() {