[PATCH] install: support -t option

Aaro Koskinen aaro.koskinen at iki.fi
Wed Sep 24 18:59:50 UTC 2014


Hi,

On Wed, Sep 24, 2014 at 02:53:35AM +0200, Denys Vlasenko wrote:
> On Tuesday 23 September 2014 21:12, Aaro Koskinen wrote:
> > Some packages want to install themselves using "-t" to specify
> > the directory (as supported by GNU coreutils). Add support for the option
> > for compatibility reasons.
> > 
> > Tested by building & installing "perf" from Linux kernel tree
> > (its install uses -t), plus some other packages which don't use it
> > to check there's no breakage.
> 
> Applied with slight changes for smaller code.
> Please try current git and let me know if I broke something.

Seems to work fine, but usage has a typo:

Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [-d DIR] [SOURCE]... DEST
                                                      ^^
                                                  Should be -t

A.


More information about the busybox mailing list