summaryrefslogtreecommitdiffstats
path: root/usr.bin/xinstall
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-05-29 18:41:16 +0000
committerimp <imp@FreeBSD.org>2001-05-29 18:41:16 +0000
commit0925b2a5953d6af118a0ece9791aecfb12bf7102 (patch)
treeeb1fea6ba95ca37e63578f5b510d2ee5e00ee01c /usr.bin/xinstall
parent8d833bf6a1dc67213e8fe8c5774ae6a413dd2deb (diff)
downloadFreeBSD-src-0925b2a5953d6af118a0ece9791aecfb12bf7102.zip
FreeBSD-src-0925b2a5953d6af118a0ece9791aecfb12bf7102.tar.gz
Use use ${INSTALL} -d in our build process. If INSTALL is set to
"install -C" then things will fail due to new checks. Relax the checks so that install -C -d works again.
Diffstat (limited to 'usr.bin/xinstall')
-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 0723518..bf103d4 100644
--- a/usr.bin/xinstall/xinstall.c
+++ b/usr.bin/xinstall/xinstall.c
@@ -169,7 +169,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