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
1 changed files with 1 additions and 1 deletions

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