From 3dcceccfcb95b4aecbc81e662020cd3619a5aad0 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 12 Sep 2004 15:53:28 +0000 Subject: [PATCH] rm -f old sudoedit link instead of using ln -f set LIBTOOL correctly --- Makefile.binary.in | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile.binary.in b/Makefile.binary.in index a1c9696f2..d4e87710c 100644 --- a/Makefile.binary.in +++ b/Makefile.binary.in @@ -19,12 +19,12 @@ srcdir = . -# For installing the shared lib -LIBTOOL = @LIBTOOL@ - # Which install program? INSTALL = $(srcdir)/install-sh -c +# For installing the shared lib +LIBTOOL = $(srcdir)/libtool + # Where to install things... prefix = @prefix@ exec_prefix = @exec_prefix@ @@ -76,7 +76,8 @@ install-dirs: install-binaries: $(PROGS) $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 sudo $(DESTDIR)$(sudodir)/sudo - ln -f $(DESTDIR)$(sudodir)/sudo $(DESTDIR)$(sudodir)/sudoedit + rm -f $(DESTDIR)$(sudodir)/sudoedit + ln $(DESTDIR)$(sudodir)/sudo $(DESTDIR)$(sudodir)/sudoedit $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 visudo $(DESTDIR)$(visudodir)/visudo install-noexec: sudo_noexec.la -- 2.50.1