summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-03-21 15:15:14 +0000
committermidipix <writeonce@midipix.org>2021-03-21 15:15:14 +0000
commit5b72bd7702ac55bad44a12de400de6efc633479d (patch)
treedaab3e9a9536df710ba3135e9f088e2bfed7686c
parent8b2e8d3b2f044c308b07198cc5abbb3f90596d4b (diff)
downloadslibtool-5b72bd7702ac55bad44a12de400de6efc633479d.tar.bz2
slibtool-5b72bd7702ac55bad44a12de400de6efc633479d.tar.xz
slbt_exec_uninstall(): remove hard-coded shell logic, revisit later as needed.
-rw-r--r--src/logic/slbt_exec_uninstall.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/logic/slbt_exec_uninstall.c b/src/logic/slbt_exec_uninstall.c
index c0aa87f..fa0e896 100644
--- a/src/logic/slbt_exec_uninstall.c
+++ b/src/logic/slbt_exec_uninstall.c
@@ -277,10 +277,6 @@ int slbt_exec_uninstall(
iargv = ectx->cargv;
fdout = slbt_driver_fdout(dctx);
- /* work around non-conforming uses of --mode=uninstall */
- if (!(strcmp(iargv[0],"/bin/sh")) || !strcmp(iargv[0],"/bin/bash"))
- iargv++;
-
/* missing arguments? */
argv_optv_init(slbt_uninstall_options,optv);