diff options
author | Jim Meyering <jim@meyering.net> | 2003-03-19 23:17:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-03-19 23:17:12 +0000 |
commit | bb6e39dc483f234fcabb4b2507d97e8179b5e16a (patch) | |
tree | b2a5bebb2dff73de9b3adeddf4227fd8dfd0f2f9 | |
parent | cf1a86162ecd8ffe277d244c0ff217230259859c (diff) | |
download | coreutils-bb6e39dc483f234fcabb4b2507d97e8179b5e16a.tar.xz |
(all-local): Append $(EXEEXT) to use of `su'
(install-root): Likewise.
(install-exec-local): Likewise.
-rw-r--r-- | src/Makefile.am | 6 |
1 files 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; \ |