]> granicus.if.org Git - sudo/commitdiff
rm -f old sudoedit link instead of using ln -f
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 12 Sep 2004 15:53:28 +0000 (15:53 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 12 Sep 2004 15:53:28 +0000 (15:53 +0000)
set LIBTOOL correctly

Makefile.binary.in

index a1c9696f28cc9ec14f9b945aa0b02cbbe9150fc4..d4e87710cac52b4d949143124148c096b8c2e7a5 100644 (file)
 
 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