mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-28 04:24:45 +08:00
(all-local): Append $(EXEEXT) to use of `su'
(install-root): Likewise. (install-exec-local): Likewise.
This commit is contained in:
parent
cf1a86162e
commit
bb6e39dc48
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user