From bb6e39dc483f234fcabb4b2507d97e8179b5e16a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 19 Mar 2003 23:17:12 +0000 Subject: (all-local): Append $(EXEEXT) to use of `su' (install-root): Likewise. (install-exec-local): Likewise. --- src/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 3c230bfe2..1d1fcaf80 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -83,7 +83,7 @@ SUFFIXES = .sh chmod +x $@-t mv $@-t $@ -all-local: su +all-local: su$(EXEEXT) installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'` @@ -98,10 +98,10 @@ INSTALL_SU = \ echo " chmod $(setuid_root_mode) $(installed_su)"; \ chmod $(setuid_root_mode) $(installed_su) -install-root: su +install-root: su$(EXEEXT) @$(INSTALL_SU) -install-exec-local: su +install-exec-local: su$(EXEEXT) @TMPFILE=$(DESTDIR)$(bindir)/.su-$$$$; \ rm -f $$TMPFILE; \ echo > $$TMPFILE; \ -- cgit v1.2.3-54-g00ecf