Here's a patch for sh-utils 2.0 that fixes DESTDIR support.

// Brad

[EMAIL PROTECTED]
[EMAIL PROTECTED]

--- src/Makefile.am.orig        Thu Mar 15 11:19:32 2001
+++ src/Makefile.am     Thu Mar 15 11:22:45 2001
@@ -58,7 +58,7 @@ SUFFIXES = .sh

 all-local: su

-installed_su = $(bindir)/`echo su|sed '$(transform)'`
+installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'`

 setuid_root_mode = a=rx,u+s

@@ -75,7 +75,7 @@ install-root: su
        @$(INSTALL_SU)

 install-exec-local: su
-       @TMPFILE=$(bindir)/.su-$$$$; \
+       @TMPFILE=$(DESTDIR)$(bindir)/.su-$$$$; \
        rm -f $$TMPFILE; \
        echo > $$TMPFILE; \
 ## See if we can create a setuid root executable in $(bindir).


_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to