2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Only keep backups of installed files on HP-UX where you cannot

unlink a shared library that is in use.
This commit is contained in:
Todd C. Miller
2016-07-08 12:37:41 -06:00
parent 19c80f8aee
commit 144e3bb53f
9 changed files with 35 additions and 11 deletions

View File

@@ -35,6 +35,7 @@ AWK = @AWK@
# Our install program supports extra flags...
INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
INSTALL_OWNER = -o $(install_uid) -g $(install_gid)
INSTALL_BACKUP = @INSTALL_BACKUP@
# Libraries
LIBS = $(top_builddir)/lib/util/libsudo_util.la
@@ -132,7 +133,7 @@ install-doc:
install-plugin: install-dirs sample_plugin.la
if [ X"$(shlib_enable)" = X"yes" ]; then \
INSTALL_BACKUP='~' $(LIBTOOL) $(LTFLAGS) --mode=install $(INSTALL) $(INSTALL_OWNER) -m $(shlib_mode) sample_plugin.la $(DESTDIR)$(plugindir); \
INSTALL_BACKUP='$(INSTALL_BACKUP)' $(LIBTOOL) $(LTFLAGS) --mode=install $(INSTALL) $(INSTALL_OWNER) -m $(shlib_mode) sample_plugin.la $(DESTDIR)$(plugindir); \
fi
uninstall: