[GRASS-dev] Re: Makefile: Extra `cat' invocations

Ivan Shmakov oneingray at gmail.com
Wed Mar 25 13:55:42 EDT 2009


>>>>> "IS" == Ivan Shmakov <oneingray at gmail.com> writes:

 IS> There're some unnecessary `cat' invocations in `Makefile'.
 IS> Unless there'll be any objections, I'm going to commit the patch
 IS> below to the trunk.

 > --- Makefile	(revision 36440)
 > +++ Makefile	(working copy)
 > @@ -87,7 +87,7 @@
 >  	done
 >  	$(MAKE) $(FILES_DST)
 >  	$(MAKE) ${ARCH_DISTDIR}/grass${GRASS_VERSION_MAJOR}${GRASS_VERSION_MINOR}.tmp
 > -	@if [ `cat "$(ERRORLOG)" | wc -l` -gt 5 ] ; then \
 > +	@if [ `wc -l < "$(ERRORLOG)"` -gt 5 ] ; then \
 >  		echo "--"     >> $(ERRORLOG) ; \

	I've committed the change as r36485.

http://trac.osgeo.org/grass/changeset/36485


[...]

-- 
FSF associate member #7257


More information about the grass-dev mailing list