From 0cf6e9014f1c5a5ae4b00240adf08f0eaeb79193 Mon Sep 17 00:00:00 2001 From: anandhu-eng Date: Wed, 23 Apr 2025 17:54:01 +0530 Subject: [PATCH] fix for space in path --- script/benchmark-program/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/benchmark-program/run.sh b/script/benchmark-program/run.sh index 011e6a8fe..6caace406 100755 --- a/script/benchmark-program/run.sh +++ b/script/benchmark-program/run.sh @@ -20,12 +20,12 @@ if [[ ${MLC_MLPERF_POWER} == "yes" && ${MLC_MLPERF_LOADGEN_MODE} == "performance fi # Run -if [ -z ${MLC_RUN_DIR} ]; then +if [ -z "${MLC_RUN_DIR}" ]; then echo "MLC_RUN_DIR is not set" exit 1 fi -cd ${MLC_RUN_DIR} +cd "${MLC_RUN_DIR}" if [[ "${MLC_DEBUG_SCRIPT_BENCHMARK_PROGRAM}" == "True" ]]; then echo "*****************************************************"