diff --git a/astra-sim-alibabacloud/build.sh b/astra-sim-alibabacloud/build.sh index 5007f353..75fb2243 100755 --- a/astra-sim-alibabacloud/build.sh +++ b/astra-sim-alibabacloud/build.sh @@ -3,7 +3,7 @@ SCRIPT_DIR=$(dirname "$(realpath $0)") NS3_BUILD_DIR="${SCRIPT_DIR:?}"/build/astra_ns3 SIMAI_PHY_BUILD_DIR="${SCRIPT_DIR:?}"/build/simai_phy SIMAI_ANALYTICAL_BUILD_DIR="${SCRIPT_DIR:?}"/build/simai_analytical -SIM_LOG_DIR=/etc/astra-sim +SIM_LOG_DIR="${SCRIPT_DIR:?}"/log # Functions function cleanup_build { @@ -71,4 +71,4 @@ case "$1" in printf -- "-c|--compile mode supported ns3/phy/analytical (example:./build.sh -c ns3)\n" printf -- "-l|--clean (example:./build.sh -l ns3)\n" printf -- "-lr|--clean-result mode (example:./build.sh -lr ns3)\n" -esac \ No newline at end of file +esac diff --git a/astra-sim-alibabacloud/build/astra_ns3/build.sh b/astra-sim-alibabacloud/build/astra_ns3/build.sh index a8013812..21482e68 100755 --- a/astra-sim-alibabacloud/build/astra_ns3/build.sh +++ b/astra-sim-alibabacloud/build/astra_ns3/build.sh @@ -10,7 +10,7 @@ ASTRA_SIM_DIR="${SCRIPT_DIR:?}"/../../astra-sim INPUT_DIR="${SCRIPT_DIR:?}"/../../inputs NS3_DIR="${SCRIPT_DIR:?}"/../../extern/network_backend/ns3-interface NS3_APPLICATION="${NS3_DIR:?}"/simulation/src/applications/ -SIM_LOG_DIR=/etc/astra-sim +SIM_LOG_DIR="${SCRIPT_DIR:?}"/log BUILD_DIR="${SCRIPT_DIR:?}"/build/ RESULT_DIR="${SCRIPT_DIR:?}"/result/ BINARY="${BUILD_DIR}"/gem5.opt @@ -91,4 +91,4 @@ case "$1" in compile;; -h|--help|*) printf "Prints help message";; -esac \ No newline at end of file +esac