summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-15 08:53:17 +0000
committermidipix <writeonce@midipix.org>2021-04-15 09:44:27 +0000
commit1ce3d5d23f5c66c8223b5567f0d7d5b630e819e1 (patch)
tree9063b43a9bebf9b837dea408378f861cd51555bc /src
parent92ddbcd61a62c5fd0d108c5694fc881254bc8cdb (diff)
downloadslibtool-1ce3d5d23f5c66c8223b5567f0d7d5b630e819e1.tar.bz2
slibtool-1ce3d5d23f5c66c8223b5567f0d7d5b630e819e1.tar.xz
link mode: slbt_exec_link_create_executable(): replace backtick with $().
Diffstat (limited to 'src')
-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"