summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/logic/slbt_exec_link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c
index c9356b9..6c0361c 100644
--- a/src/logic/slbt_exec_link.c
+++ b/src/logic/slbt_exec_link.c
@@ -1724,7 +1724,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"
- "if [ `basename \"$0\"` = \"%s\" ]; then\n"
+ "if [ $(basename \"$0\") = \"%s\" ]; then\n"
"\tprogram=\"$1\"; shift\n"
"\texec \"$program\" \"$@\"\n"
"fi\n\n"