From 92ddbcd61a62c5fd0d108c5694fc881254bc8cdb Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 15 Apr 2021 08:48:59 +0000 Subject: link mode: slbt_exec_link_create_executable(): enclose $DL_PATH in quotes. --- src/logic/slbt_exec_link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index b94ed44..c9356b9 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -1723,7 +1723,7 @@ static int slbt_exec_link_create_executable( if (slbt_dprintf(fdwrap, "DL_PATH=\"${DL_PATH}${LCOLON}${%s}\"\n\n" - "export %s=$DL_PATH\n\n" + "export %s=\"$DL_PATH\"\n\n" "if [ `basename \"$0\"` = \"%s\" ]; then\n" "\tprogram=\"$1\"; shift\n" "\texec \"$program\" \"$@\"\n" -- cgit v1.2.3