From 25652557e3b517eb0256e0eaac5549b10233da1d Mon Sep 17 00:00:00 2001 From: nilsnolde Date: Thu, 7 Mar 2024 12:27:49 +0100 Subject: [PATCH] fix #145 --- scripts/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run.sh b/scripts/run.sh index 5463004..a05306e 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -18,12 +18,12 @@ run_cmd() { do_build_tar() { local build_tar_local=$1 - if ([[ ${build_tar_local} == "True" && ! -f $TILE_TAR ]]) || [[ ${build_tar_local} == "Force" ]]; then + if ([[ "${build_tar_local}" == "True" && ! -f $TILE_TAR ]]) || [[ "${build_tar_local}" == "Force" ]]; then options="-c ${CONFIG_FILE} -v" if ! [[ -z ${traffic_name} ]]; then options="${options} -t" fi - if [[${build_tar_local} == "Force" ]]; then + if [[ "${build_tar_local}" == "Force" ]]; then options="${options} --overwrite" fi run_cmd "valhalla_build_extract ${options}"