From: Alexandru Avadanii Date: Mon, 5 Sep 2016 16:34:32 +0000 (+0200) Subject: armband: Fix file handler in lab-config test -e X-Git-Tag: colorado.1.0~75 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F20373%2F1;p=releng.git armband: Fix file handler in lab-config test -e Previous change adding lab-config/.../local_env support introduced an issue, in the form of `test -e file:///path/to/local_env`, which is not supported. Change-Id: I1566b41765329f18523cfc506c9112b6694a8317 Signed-off-by: Alexandru Avadanii --- diff --git a/jjb/armband/armband-deploy.sh b/jjb/armband/armband-deploy.sh index d7626509c..fb4c1ead5 100755 --- a/jjb/armband/armband-deploy.sh +++ b/jjb/armband/armband-deploy.sh @@ -52,7 +52,7 @@ if [[ $LAB_CONFIG_URL =~ ^(git|ssh):// ]]; then LAB_CONFIG_URL=file://${WORKSPACE}/lab-config # Source local_env if present, which contains POD-specific config - local_env="$LAB_CONFIG_URL/labs/$LAB_NAME/$POD_NAME/fuel/config/local_env" + local_env="${WORKSPACE}/lab-config/labs/$LAB_NAME/$POD_NAME/fuel/config/local_env" if [ -e $local_env ]; then echo "-- Sourcing local environment file" source $local_env