Browse Source

Avoid '~' in configuration files

Fernando Correia 12 years ago
parent
commit
71c08ad3d1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      toolset/deployment/common/linux-initial-deployment.sh

+ 2 - 2
toolset/deployment/common/linux-initial-deployment.sh

@@ -22,14 +22,14 @@ information "Benchmark Suite Deployment: Linux server setup"
 information "******************************************************************************"
 
 BENCHMARK_REMOTE_CONFIGURATION_FILE="$BENCHMARK_WORKING_DIR/benchmark-configuration.sh"
-BENCHMARK_REMOTE_KEY_FILE="~/.ssh/benchmark-key"
+BENCHMARK_REMOTE_KEY_FILE="/home/$BENCHMARK_LINUX_USER/.ssh/benchmark-key"
 
 # Create Linux host configuration script.
 echo ""
 echo "Creating Linux host configuration script at $BENCHMARK_REMOTE_CONFIGURATION_FILE"
 cat >$BENCHMARK_REMOTE_CONFIGURATION_FILE <<_EOF_
 #!/bin/bash
-export BENCHMARK_HOME="~/FrameworkBenchmarks"
+export BENCHMARK_HOME="/home/$BENCHMARK_LINUX_USER/FrameworkBenchmarks"
 export BENCHMARK_SERVER_IP="$BENCHMARK_LINUX_SERVER_IP"
 export BENCHMARK_CLIENT_IP="$BENCHMARK_LINUX_CLIENT_IP"
 export BENCHMARK_KEY_PATH="$BENCHMARK_REMOTE_KEY_FILE"