summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-07-29 08:51:04 +0000
committerru <ru@FreeBSD.org>2002-07-29 08:51:04 +0000
commit2a8927efce725d1d177ca030f8748dd047f9a198 (patch)
tree54788dca6e7876d3ef897a3112a9627753ada68e /usr.bin
parent72f02df3c8671ae3e4970d5bf744548dc5e74a8a (diff)
downloadFreeBSD-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.c2
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 */
OpenPOWER on IntegriCloud