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:]')
|
||||
version=v1.1.0
|
||||
|
||||
|
||||
if [[ ! -e "bbgo" ]] ; then
|
||||
echo "Downloading bbgo"
|
||||
curl -L -o bbgo https://github.com/c9s/bbgo/releases/download/$version/bbgo-$osf
|
||||
chmod +x bbgo
|
||||
|
||||
echo "Binary downloaded"
|
||||
fi
|
||||
|
||||
|
||||
if [[ -e "bbgo.yaml" ]] ; then
|
||||
echo "Found existing bbgo.yaml, you will overwrite the existing bbgo.yaml file!"
|
||||
|
|
Loading…
Reference in New Issue
Block a user