summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xxci/xci-deploy.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/xci/xci-deploy.sh b/xci/xci-deploy.sh
index 908889c1..18c8bb22 100755
--- a/xci/xci-deploy.sh
+++ b/xci/xci-deploy.sh
@@ -137,9 +137,7 @@ echo "-------------------------------------------------------------------------"
#-------------------------------------------------------------------------------
# Get scenario variables overrides
#-------------------------------------------------------------------------------
-if [[ -f $XCI_SCENARIOS_CACHE/${DEPLOY_SCENARIO:-_no_scenario_}/xci_overrides ]]; then
- source $XCI_SCENARIOS_CACHE/$DEPLOY_SCENARIO/xci_overrides
-fi
+source $(find $XCI_SCENARIOS_CACHE/${DEPLOY_SCENARIO} -name xci_overrides) &>/dev/null || :
#-------------------------------------------------------------------------------
# Start provisioning VM nodes