In Mac OS X 10.4 (I run 10.4.2) the chmod command doesn't understand the
`--reference' option. Darwin ports provides a build of coreutils, but
installs it as gchmod.
This patch replaces the one offending chmod invocation with a shell if
statement that is much more portable, and saves the trouble of installing
coreutils especially.
Makefile.in | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: quilt-HEAD/Makefile.in
===================================================================
--- quilt-HEAD.orig/Makefile.in
+++ quilt-HEAD/Makefile.in
@@ -227,7 +227,7 @@ $(PACKAGE).spec : $(PACKAGE).spec.in $(P
-e 's:@LOCALEDIR''@:$(localedir):g' \
-e 's:@DOCSUBDIR''@:$(docdir)/$(PACKAGE)-$(VERSION):g' \
$< > $@
- @chmod --reference=$< $@
+ @if test -x $<; then chmod +x $@; fi
Makefile : Makefile.in
@echo "Please run ./configure by hand"
--
Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev