Code Review
/
ealt-edge.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Uninstall service-center added
[ealt-edge.git]
/
ocd
/
cli
/
ealt
/
build_cli.sh
1
#!/bin/bash
2
3
CLIDIR=$PWD
4
5
export GOROOT=/usr/local/go
6
export GOPATH=$HOME/go
7
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
8
9
go version
10
if [ $? -ne 0 ]; then
11
12
cd /tmp/
13
wget -N https://dl.google.com/go/go1.14.linux-amd64.tar.gz
14
tar -xvf go1.13.3.linux-amd64.tar.gz
15
mv go /usr/local
16
fi
17
18
cd $CLIDIR
19
20
go install