浏览代码

Fix error when the benchmark repository is not specified.

Fixes "unbound variable" error in azure-deployment.sh when a custom repository is not defined in the deployment configuration.
Fernando Correia 12 年之前
父节点
当前提交
fc4a4541a0
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      toolset/deployment/azure/azure-deployment.sh

+ 3 - 3
toolset/deployment/azure/azure-deployment.sh

@@ -306,15 +306,15 @@ function azure_continue_deployment {
 information "Deploying Web Framework Benchmarks to Windows Azure..."
 echo ""
 
+azure_check_configuration
+azure_set_variables
+
 echo "The resources will be created with the base name $AZURE_DEPLOYMENT_NAME" \
 "in $AZURE_DEPLOYMENT_LOCATION under the subscription $AZURE_DEPLOYMENT_SUBSCRIPTION" \
 "using $AZURE_DEPLOYMENT_VM_SIZE virtual machines."
 echo "The benchmark suite will be cloned from the $BENCHMARK_BRANCH branch of the repository at $BENCHMARK_REPOSITORY."
 echo ""
 
-# Execute deployment steps
-azure_check_configuration
-azure_set_variables
 azure_configure_command_line_tools
 azure_create_common_resources
 azure_create_vms