diff options
author | midipix <writeonce@midipix.org> | 2021-04-15 08:48:59 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-04-15 09:44:27 +0000 |
commit | 92ddbcd61a62c5fd0d108c5694fc881254bc8cdb (patch) | |
tree | aa71be35676323a5c2b5dfa6cb6a876a4062e606 /src/logic | |
parent | 688ec9217662849ba5f558b8132648e96567c80c (diff) | |
download | slibtool-92ddbcd61a62c5fd0d108c5694fc881254bc8cdb.tar.bz2 slibtool-92ddbcd61a62c5fd0d108c5694fc881254bc8cdb.tar.xz |
link mode: slbt_exec_link_create_executable(): enclose $DL_PATH in quotes.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
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" |