From: Luciano Coelho Date: Wed, 17 Mar 2010 15:09:20 +0000 (+0200) Subject: iw: change install command to make it compatible with ancient coreutils X-Git-Tag: v0.9.20~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dbddf132d7feff27262d4f853277a883e40d17a;p=thirdparty%2Fiw.git iw: change install command to make it compatible with ancient coreutils In older versions of the install tool from the GNU coreutils package, the -t option is not supported. The -t option can be safely replaced by the older "install [OPTION]... SOURCE... DIRECTORY" format. By changing the way we call install, we can make the iw tool more friendly to ancient distributions. Signed-off-by: Luciano Coelho --- diff --git a/Makefile b/Makefile index b0a4278..c51706b 100644 --- a/Makefile +++ b/Makefile @@ -86,10 +86,10 @@ check: install: iw iw.8.gz @$(NQ) ' INST iw' $(Q)$(MKDIR) $(DESTDIR)$(SBINDIR) - $(Q)$(INSTALL) -m 755 -t $(DESTDIR)$(SBINDIR) iw + $(Q)$(INSTALL) -m 755 iw $(DESTDIR)$(SBINDIR) @$(NQ) ' INST iw.8' $(Q)$(MKDIR) $(DESTDIR)$(MANDIR)/man8/ - $(Q)$(INSTALL) -m 644 -t $(DESTDIR)$(MANDIR)/man8/ iw.8.gz + $(Q)$(INSTALL) -m 644 iw.8.gz $(DESTDIR)$(MANDIR)/man8/ clean: $(Q)rm -f iw *.o *~ *.gz version.c *-stamp