summaryrefslogtreecommitdiffhomepage
path: root/src/logic/slbt_exec_install.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-09-10 22:58:54 -0400
committermidipix <writeonce@midipix.org>2016-09-11 00:19:03 -0400
commitf8ac22f49c21f21e9d80d787c37e8772f9f77987 (patch)
tree3ac9eb078a414e3f18b5bce5199218d36474e07f /src/logic/slbt_exec_install.c
parent819200628308694c4de3a90cb8b4ecdece1393e2 (diff)
downloadslibtool-f8ac22f49c21f21e9d80d787c37e8772f9f77987.tar.bz2
slibtool-f8ac22f49c21f21e9d80d787c37e8772f9f77987.tar.xz
install mode: support the -f (force copy) command line argument.
Diffstat (limited to 'src/logic/slbt_exec_install.c')
-rw-r--r--src/logic/slbt_exec_install.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c
index e21a656..75fb263 100644
--- a/src/logic/slbt_exec_install.c
+++ b/src/logic/slbt_exec_install.c
@@ -599,6 +599,10 @@ int slbt_exec_install(
copy = entry;
break;
+ case TAG_INSTALL_FORCE:
+ *argv++ = "-f";
+ break;
+
case TAG_INSTALL_MKDIR:
*argv++ = "-d";
copy = 0;