>>>>> "IS" == Ivan Shmakov <[email protected]> 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
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev