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 c1f14b75..f8980a85 100755
--- a/xci/xci-deploy.sh
+++ b/xci/xci-deploy.sh
@@ -136,9 +136,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