fix installer: use option O

This commit is contained in:
c9s 2021-03-13 19:47:05 +08:00
parent e1ad2b49bf
commit 1ede661bcd

View File

@ -4,7 +4,7 @@ version=v1.13.0
dist_file=bbgo-$version-$osf-amd64.tar.gz dist_file=bbgo-$version-$osf-amd64.tar.gz
echo "downloading..." echo "downloading..."
curl -L https://github.com/c9s/bbgo/releases/download/$version/$dist_file curl -O -L https://github.com/c9s/bbgo/releases/download/$version/$dist_file
tar xzf $dist_file tar xzf $dist_file
mv bbgo-darwin bbgo mv bbgo-darwin bbgo
chmod +x bbgo chmod +x bbgo