From 752dbaad8ac379eb71b877be7a7f786ce4acbb60 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Mon, 23 Sep 2024 08:57:21 +0300 Subject: [PATCH] CMakeLists.txt: quote the parameter in runner script --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc915f8..fee3cbe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -293,7 +293,7 @@ function(use_townengine target sources output_directory data_dir) "#!/bin/env sh" "cd \"$(dirname \"$0\")\"" "export LD_LIBRARY_PATH=./" - "if [ \$1 = \"gdb\" ]; then" + "if [ \"\$1\" = \"gdb\" ]; then" " unset DEBUGINFOD_URLS" " gdb -ex run --args ./launcher ${TWN_BOOTSTRAP_EXEC_ARGS}" "else"