diff options
author | ru <ru@FreeBSD.org> | 2002-07-29 08:51:04 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-07-29 08:51:04 +0000 |
commit | 2a8927efce725d1d177ca030f8748dd047f9a198 (patch) | |
tree | 54788dca6e7876d3ef897a3112a9627753ada68e /usr.bin | |
parent | 72f02df3c8671ae3e4970d5bf744548dc5e74a8a (diff) | |
download | FreeBSD-src-2a8927efce725d1d177ca030f8748dd047f9a198.zip FreeBSD-src-2a8927efce725d1d177ca030f8748dd047f9a198.tar.gz |
Ignore -C, -p, and -S options of install(1) when used with the -d
option. Warn about COPY being phased out. Restore the old method
of always comparing before installing: INSTALL="install -C".
Requested by: bde
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/xinstall/xinstall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index feddb74..1313e0b 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -173,7 +173,7 @@ main(argc, argv) argv += optind; /* some options make no sense when creating directories */ - if ((safecopy || docompare || dostrip) && dodir) + if (dostrip && dodir) usage(); /* must have at least two arguments, except when creating directories */ |