Browse Source

Merge pull request #467 from fernandoacorreia/fix-unbound-variable

Fix error when the benchmark repository is not specified
Michael Hixson 12 years ago
parent
commit
24818126dd
1 changed files with 3 additions and 3 deletions
  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..."
 information "Deploying Web Framework Benchmarks to Windows Azure..."
 echo ""
 echo ""
 
 
+azure_check_configuration
+azure_set_variables
+
 echo "The resources will be created with the base name $AZURE_DEPLOYMENT_NAME" \
 echo "The resources will be created with the base name $AZURE_DEPLOYMENT_NAME" \
 "in $AZURE_DEPLOYMENT_LOCATION under the subscription $AZURE_DEPLOYMENT_SUBSCRIPTION" \
 "in $AZURE_DEPLOYMENT_LOCATION under the subscription $AZURE_DEPLOYMENT_SUBSCRIPTION" \
 "using $AZURE_DEPLOYMENT_VM_SIZE virtual machines."
 "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 "The benchmark suite will be cloned from the $BENCHMARK_BRANCH branch of the repository at $BENCHMARK_REPOSITORY."
 echo ""
 echo ""
 
 
-# Execute deployment steps
-azure_check_configuration
-azure_set_variables
 azure_configure_command_line_tools
 azure_configure_command_line_tools
 azure_create_common_resources
 azure_create_common_resources
 azure_create_vms
 azure_create_vms