1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-22 09:47:04 +01:00

yay, multiple arguments

This commit is contained in:
Matthias Kretschmann 2018-10-02 13:50:34 +02:00
parent e0b569f8c0
commit 2e1f2cd5d5
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -11,7 +11,7 @@ export ARTIFACTS_FOLDER=~/.ocean/keeper-contracts/artifacts
# default to `stable` versions of all components
# unless `--latest` argument is given
if [ "$1" == "--latest" ]; then
if [ "$1" == "--latest" ] || [ "$2" == "--latest" ]; then
export OCEAN_VERSION=latest
else
export OCEAN_VERSION=stable