Skip to content

Commit c90c380

Browse files
authored
Merge pull request #387 from anandhu-eng/path-str-fix
Fix for space in path
2 parents fbd5fc6 + 0cf6e90 commit c90c380

File tree

1 file changed

+2
-2
lines changed
  • script/benchmark-program

1 file changed

+2
-2
lines changed

script/benchmark-program/run.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ if [[ ${MLC_MLPERF_POWER} == "yes" && ${MLC_MLPERF_LOADGEN_MODE} == "performance
2020
fi
2121

2222
# Run
23-
if [ -z ${MLC_RUN_DIR} ]; then
23+
if [ -z "${MLC_RUN_DIR}" ]; then
2424
echo "MLC_RUN_DIR is not set"
2525
exit 1
2626
fi
2727

28-
cd ${MLC_RUN_DIR}
28+
cd "${MLC_RUN_DIR}"
2929

3030
if [[ "${MLC_DEBUG_SCRIPT_BENCHMARK_PROGRAM}" == "True" ]]; then
3131
echo "*****************************************************"

0 commit comments

Comments
 (0)