ControlScripts: add BASE_PATH to local scenario config file
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 6 Aug 2010 08:34:38 +0000 (11:34 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 6 Aug 2010 08:34:48 +0000 (11:34 +0300)
(run_scenario.sh)

ControlScripts/run_scenario.sh

index 691d950..60f8abd 100755 (executable)
@@ -103,6 +103,7 @@ scenario_setup() {
 
                # Create node config file
                if ! ssh -n p ${PORT} ${USER}@${SERVER} "cat > $REMOTE_PATH/P2P-Testing-Infrastructure/ClientWorkingFolders/TmpLogs/scenario_config" &>> ${ERR_LOG} <<END
+BASE_PATH="${REMOTE_PATH}/P2P-Testing-Infrastructure/"
 IFACE="${REMOTE_IF}"
 DL_BW="${DL_BW}"
 DL_BURST="${DL_BURST}"