[hackers] [sbase] install: Handle -c flag as a no-op || Michael Forney

From: <git_AT_suckless.org>
Date: Sat, 9 Jul 2016 11:17:21 +0200 (CEST)

commit 083d1451ac5fa87172ea3c78adcbe2768377d2e8
Author: Michael Forney <mforney_AT_mforney.org>
AuthorDate: Fri Jul 8 10:24:09 2016 -0700
Commit: sin <sin_AT_2f30.org>
CommitDate: Sat Jul 9 10:17:16 2016 +0100

    install: Handle -c flag as a no-op
    
    This is required in order for autoconf's AC_PROG_INSTALL to use the sbase
    install. Otherwise it will fall back to the slow and sucky install-sh script
    from automake.

diff --git a/xinstall.c b/xinstall.c
index f5f6956..bf921fb 100644
--- a/xinstall.c
+++ b/xinstall.c
_AT_@ -156,6 +156,9 @@ main(int argc, char *argv[])
         char *p;
 
         ARGBEGIN {
+ case 'c':
+ /* no-op for compatibility */
+ break;
         case 'd':
                 dflag = 1;
                 break;
Received on Sat Jul 09 2016 - 11:17:21 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 09 2016 - 11:24:22 CEST