Commit Graph

12 Commits

Author SHA1 Message Date
Brad Davis
a812deb1f2 Fix handling -U. It does not take any arguments.
Approved by:	will
2017-11-27 02:28:40 +00:00
Bryan Drewery
7359fe7af4 Use -n to ln(1) which is compatible with GNU ln(1).
Sponsored by:	EMC / Isilon Storage Division
2015-11-16 23:27:44 +00:00
Brooks Davis
6d12634cba Use = not == in test arguments.
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
2013-01-24 20:47:37 +00:00
Brooks Davis
aaea79704b Implement the -l option using ln(1) to facilitate boostrapping.
Ignore the new options -D, -h, -T, and -U.  Adjust -M support to ignore
an argument.

Sponsored by:	DARPA, AFRL
Reviewed by:	ian, ray, rpaulo
2013-01-21 22:32:00 +00:00
Ulrich Spörlein
3dfe8ce942 Teach tools/install.sh the -d directory mode.
Sync up with flags understood by install(1) [1], and make install(1)'s
usage output not hide the clearly documented -M flag.

PR:		misc/154739 [1]
Submitted by:	arundel
2011-02-22 08:07:17 +00:00
Ruslan Ermilov
3b579c6e63 Arguments to options aren't necessarily separated with whitespace.
Noticed by:	harti
2004-07-07 09:38:14 +00:00
Ruslan Ermilov
285c793501 From what I can tell, install.sh supported all of the install(1)
options since revision 1.2, so removed the XXX comment now.

Fixed bogus test(1) expression that would be evaluated as a null
string test if script is run without arguments, compacted option
lists.
2004-02-06 11:00:13 +00:00
Jens Schweikhardt
21dc7d4f57 Fix typo in the BSD copyright: s/withough/without/
Spotted and suggested by:	des
MFC after:	3 weeks
2002-06-02 20:05:59 +00:00
Ruslan Ermilov
2c745214f2 Added support for all new install(1) options.
Removed -c from the actual call as -p implies "copy".
2001-05-28 16:53:01 +00:00
Marcel Moolenaar
24066d3209 Don't use -C internally. Use -c. For some reason files are not copied
with -C, although they should.
1999-12-15 18:08:56 +00:00
Marcel Moolenaar
168f8d1648 Use install -C -p instead of cp -p.
Pointed out by: bde
1999-12-10 10:14:06 +00:00
Marcel Moolenaar
d33ed1111a install(1) lookalike that can be used during a build. Any options
are ignored and the remaining is passed on to cp(1). This allows
a build to be run as non-root without forcing any user/group
setting and also prevents setting any file flags.

This may not be the right place for buildtools.
1999-12-08 13:40:44 +00:00