]> granicus.if.org Git - sudo/commitdiff
Add support for SUDO_PREINSTALL_CMD so we can correct the LDAP lib
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 13 Nov 2012 14:44:32 +0000 (09:44 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 13 Nov 2012 14:44:32 +0000 (09:44 -0500)
path for HP-UX SOM binaries.

--HG--
branch : 1.7

Makefile.in

index 4f649af81450c5aca658036d1d26834737147c0f..6d08381f398686883e57147c0cb7a30adb998756 100644 (file)
@@ -693,6 +693,7 @@ install-dirs:
        $(INSTALL) -d -O $(install_uid) -G $(install_gid) -m 0700 $(DESTDIR)$(timedir)
 
 install-binaries: install-dirs $(PROGS)
+       if [ X"$$SUDO_PREINSTALL_CMD" != X"" ]; then exec $$SUDO_PREINSTALL_CMD sudo; fi
        $(INSTALL) -b~ -O $(install_uid) -G $(install_gid) -M 04755 sudo $(DESTDIR)$(sudodir)/sudo
        rm -f $(DESTDIR)$(sudodir)/sudoedit
        ln -s sudo $(DESTDIR)$(sudodir)/sudoedit