]> granicus.if.org Git - shadow/commit
Honor --sbindir and --bindir for binary installation
authorDave Reisner <dreisner@archlinux.org>
Wed, 31 Jul 2019 17:09:36 +0000 (13:09 -0400)
committerSerge Hallyn <shallyn@cisco.com>
Fri, 2 Aug 2019 01:36:41 +0000 (20:36 -0500)
commit2cac079ef4b26b078cddc25e63df11868ee93ed4
tree861a8ea8e88e9d452fa4db881d26166181610299
parent13c618465d5cc80089605a64e8a4c6312c5939c4
Honor --sbindir and --bindir for binary installation

Some distros don't care about the split between /bin, /sbin, /usr/bin,
and /usr/sbin, so let them easily stuff binaries wherever they want.

This also fixes a problem during installation where-in a loop of 'chmod
4755' calls will mostly fail. However, because the last two succeed
(newuidmap/newgidmap), make considers the command to be a success.
Somewhat not-amusingly, configuring shadow with --with-fcaps will cause
installation to fail because the final chmod call is now a failing one.
src/Makefile.am