From: Jim Meyering Date: Wed, 19 Mar 2003 23:17:12 +0000 (+0000) Subject: (all-local): Append $(EXEEXT) to use of `su' X-Git-Tag: v4.5.11~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb6e39dc483f234fcabb4b2507d97e8179b5e16a;p=thirdparty%2Fcoreutils.git (all-local): Append $(EXEEXT) to use of `su' (install-root): Likewise. (install-exec-local): Likewise. --- diff --git a/src/Makefile.am b/src/Makefile.am index 3c230bfe2a..1d1fcaf80e 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; \