CMakeLists.txt: quote the parameter in runner script

This commit is contained in:
veclav talica 2024-09-23 08:57:21 +03:00
parent 4de885fcdd
commit 752dbaad8a

View File

@ -293,7 +293,7 @@ function(use_townengine target sources output_directory data_dir)
"#!/bin/env sh" "#!/bin/env sh"
"cd \"$(dirname \"$0\")\"" "cd \"$(dirname \"$0\")\""
"export LD_LIBRARY_PATH=./" "export LD_LIBRARY_PATH=./"
"if [ \$1 = \"gdb\" ]; then" "if [ \"\$1\" = \"gdb\" ]; then"
" unset DEBUGINFOD_URLS" " unset DEBUGINFOD_URLS"
" gdb -ex run --args ./launcher ${TWN_BOOTSTRAP_EXEC_ARGS}" " gdb -ex run --args ./launcher ${TWN_BOOTSTRAP_EXEC_ARGS}"
"else" "else"