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:
1591a3d
)
bugfix version handling regression
author
AJ ONeal
<coolaj86@gmail.com>
Sun, 14 Jun 2020 05:11:43 +0000
(23:11 -0600)
committer
AJ ONeal
<coolaj86@gmail.com>
Sun, 14 Jun 2020 05:11:43 +0000
(23:11 -0600)
golang/install.bash
patch
|
blob
|
history
diff --git
a/golang/install.bash
b/golang/install.bash
index 2ecf7d7b7cce042a4975a601f4093c3ae040e137..ac60033db7b4a340eaeb3ed8839c56e6ad163c46 100644
(file)
--- a/
golang/install.bash
+++ b/
golang/install.bash
@@
-65,7
+65,7
@@
cur_go_version=""
if [ -n "$cur_go" ]; then
cur_go_version=$(go version | cut -d' ' -f3 | sed 's:go::')
- if [ "$cur_go_version" == "$
WEBI_VERSION
" ]; then
+ if [ "$cur_go_version" == "$
(echo $WEBI_VERSION | sed 's:\.0::g')
" ]; then
echo "go$WEBI_VERSION already installed at $cur_go"
exit 0
else