From 3cfd144d08f78870cce11e89e7faf4a4da0fe376 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Thu, 17 Aug 2017 21:34:15 +0200 Subject: ci/deploy.sh: Fix opt parse for local_env sourcing Previously, we only accounted for the arguments we were interested in (l:lab, p:pod), which failed in case other (valid) arguments were passed first. Accept all arguments Fuel's accepts, so lab/pod are read no matter where they are placed in the command string. Change-Id: I9125a5e70d19b7e1ca905b2572f3c8ceda13025b Signed-off-by: Alexandru Avadanii --- ci/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ci') diff --git a/ci/deploy.sh b/ci/deploy.sh index 1c95d401..b81e5c8c 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -18,7 +18,7 @@ make patches-import # source local environment variables if ! [ -z $LAB_CONFIG_URL ]; then - while getopts "l:p:" OPTION 2>/dev/null + while getopts "b:B:dfFl:L:p:s:S:T:i:he" OPTION 2>/dev/null do case $OPTION in l) TARGET_LAB=$OPTARG;; -- cgit 1.2.3-korg