projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: shfmt, shellcheck, and whitespace
[webi-installers/.git]
/
golang
/
install.sh
diff --git
a/golang/install.sh
b/golang/install.sh
index 30493cf88d1e8d070d83bb32534d0e63203eb938..01b5a19b923fb3449e9fe03a55a42a0c7b68adc6 100644
(file)
--- a/
golang/install.sh
+++ b/
golang/install.sh
@@
-19,7
+19,7
@@
pkg_get_current_version() {
# go version go1.14.2 darwin/amd64
# This trims it down to just the version number:
# 1.14.2
# 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() {
}
pkg_format_cmd_version() {