[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [patch 1/8]
From: |
gary |
Subject: |
[Quilt-dev] [patch 1/8] |
Date: |
Tue, 13 Sep 2005 22:25:47 +0100 |
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 ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
- Re: [Quilt-dev] [patch 5/8], (continued)
[Quilt-dev] [patch 6/8], gary, 2005/09/13
[Quilt-dev] [patch 8/8], gary, 2005/09/13
[Quilt-dev] [patch 1/8],
gary <=
- Re: [Quilt-dev] [patch 1/8], Jean Delvare, 2005/09/14
- Re: [Quilt-dev] [patch 1/8], John Vandenberg, 2005/09/14
- Re: [Quilt-dev] [patch 1/8], Gary V. Vaughan, 2005/09/14
- Re: [Quilt-dev] [patch 1/8], Andreas Gruenbacher, 2005/09/14
- Re: [Quilt-dev] quilt mail bugs (was [patch 1/8]), Gary V. Vaughan, 2005/09/14
- Re: [Quilt-dev] quilt mail bugs (was [patch 1/8]), Andreas Gruenbacher, 2005/09/14
- Re: [Quilt-dev] quilt mail bugs (was [patch 1/8]), Gary V. Vaughan, 2005/09/15
Re: [Quilt-dev] [patch 1/8], Jean Delvare, 2005/09/14
Re: [Quilt-dev] [patch 1/8], Andreas Gruenbacher, 2005/09/14
Re: [Quilt-dev] [patch 1/8], Jean Delvare, 2005/09/14