This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] for generic-build-script


On Wed, May 19, 2004 at 03:52:04PM +0200, Gerrit P. Haase wrote:
>Hallo cygwin-apps,
>
>--- generic-build-script~       2004-05-19 15:49:55.827961600 +0200
>+++ generic-build-script        2004-05-19 15:49:41.196923200 +0200
>@@ -180,7 +180,7 @@
>     fi ;\
>   done &&\
>   if [ -d ${instdir}${prefix}/share/info ] ; then \
>-    find ${instdir}${prefix}/share/info -name "*.info" | xargs gzip -q ; \
>+    find ${instdir}${prefix}/share/info -name "*" | xargs gzip -q ; \

-name "*" is a no-op.  You can just remove it.

Also, shouldn't all of these directories be quoted, i.e:

find "${instdir}${prefix}/share/info" -print0 | xargs -0 gzip -q

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]