summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-11 14:08:18 +0000
committermidipix <writeonce@midipix.org>2024-03-11 14:08:18 +0000
commitdbd501be3a1f22332c162711671da673a0db7825 (patch)
treea22906564f00ad18883d7b7b3dbb085f593151a6 /src
parent15782cdd6cefca2847a682bf0728e62cc146d396 (diff)
downloadslibtool-dbd501be3a1f22332c162711671da673a0db7825.tar.bz2
slibtool-dbd501be3a1f22332c162711671da673a0db7825.tar.xz
execute mode: wrapper script: remove non-portable shell construct (exec --).
Diffstat (limited to 'src')
-rw-r--r--src/logic/linkcmd/slbt_linkcmd_executable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_executable.c b/src/logic/linkcmd/slbt_linkcmd_executable.c
index e192b72..76c0b1d 100644
--- a/src/logic/linkcmd/slbt_linkcmd_executable.c
+++ b/src/logic/linkcmd/slbt_linkcmd_executable.c
@@ -210,9 +210,9 @@ slbt_hidden int slbt_exec_link_create_executable(
"export %s=\"$DL_PATH\"\n\n"
"if [ $(basename \"$0\") = \"%s\" ]; then\n"
"\tprogram=\"$1\"; shift\n"
- "\texec -- \"$program\" \"$@\"\n"
+ "\texec \"$program\" \"$@\"\n"
"fi\n\n"
- "exec -- %s/%s \"$@\"\n",
+ "exec %s/%s \"$@\"\n",
dctx->cctx->settings.ldpathenv,
dctx->cctx->settings.ldpathenv,
base,