From: Todd C. Miller Date: Sun, 12 Sep 2004 15:53:28 +0000 (+0000) Subject: rm -f old sudoedit link instead of using ln -f X-Git-Tag: SUDO_1_6_8p1~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3dcceccfcb95b4aecbc81e662020cd3619a5aad0;p=sudo rm -f old sudoedit link instead of using ln -f set LIBTOOL correctly --- 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