(all-local): Append $(EXEEXT) to use of `su'

(install-root): Likewise.
(install-exec-local): Likewise.
This commit is contained in:
Jim Meyering 2003-03-19 23:17:12 +00:00
parent cf1a86162e
commit bb6e39dc48

View File

@ -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; \