mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +00:00
fix binary download
This commit is contained in:
parent
0e0f43dc76
commit
6928cba9ac
|
@ -2,14 +2,10 @@
|
||||||
osf=$(uname | tr '[:upper:]' '[:lower:]')
|
osf=$(uname | tr '[:upper:]' '[:lower:]')
|
||||||
version=v1.1.0
|
version=v1.1.0
|
||||||
|
|
||||||
|
echo "Downloading bbgo"
|
||||||
if [[ ! -e "bbgo" ]] ; then
|
curl -L -o bbgo https://github.com/c9s/bbgo/releases/download/$version/bbgo-$osf
|
||||||
curl -L -o bbgo https://github.com/c9s/bbgo/releases/download/$version/bbgo-$osf
|
chmod +x bbgo
|
||||||
chmod +x bbgo
|
echo "Binary downloaded"
|
||||||
|
|
||||||
echo "Binary downloaded"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [[ -e "bbgo.yaml" ]] ; then
|
if [[ -e "bbgo.yaml" ]] ; then
|
||||||
echo "Found existing bbgo.yaml, you will overwrite the existing bbgo.yaml file!"
|
echo "Found existing bbgo.yaml, you will overwrite the existing bbgo.yaml file!"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user