freebsd-src/usr.bin/xinstall
Kyle Evans 2c7e964254 install: handle -m +X more accurately
As described by chmod(1), +X in the mode may be used to optionally set
the +x bit if the file is a directory if any of the execute/search bits
are set in the original mode.  The latter is not applicable because we
assume -m is a fresh mask, but a functional +X could be useful in the
former case if we're passing along a common INSTALL_MODE that's designed
to install either 0644 or 0755 depending simply on whether it's a
directory or not.

Reviewed by:	des
Sponsored by:	Klara, Inc.

(cherry picked from commit 767c97c501)
2023-11-25 22:07:17 -06:00
..
tests install: handle -m +X more accurately 2023-11-25 22:07:17 -06:00
install.1 Remove $FreeBSD$: one-line nroff pattern 2023-08-23 11:43:32 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
xinstall.c install: handle -m +X more accurately 2023-11-25 22:07:17 -06:00