Changeset 36485


Ignore:
Timestamp:
Mar 25, 2009, 10:39:10 AM (15 years ago)
Author:
1gray
Message:

Removed extra `cat' invocations.
Makefile (default): Removed extra `cat' invocations.
(real-install): Likewise.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/Makefile

    r35877 r36485  
    8888        $(MAKE) $(FILES_DST)
    8989        $(MAKE) ${ARCH_DISTDIR}/grass${GRASS_VERSION_MAJOR}${GRASS_VERSION_MINOR}.tmp
    90         @if [ `cat "$(ERRORLOG)" | wc -l` -gt 5 ] ; then \
     90        @if [ `wc -l < "$(ERRORLOG)"` -gt 5 ] ; then \
    9191                echo "--"     >> $(ERRORLOG) ; \
    9292                echo "In case of errors please change into the directory with error and run 'make'." >> $(ERRORLOG) ; \
     
    100100        @echo "Finished compilation: `date`" >> $(ERRORLOG)
    101101        @cat $(ERRORLOG)
    102         @if [ `cat "$(ERRORLOG)" | wc -l` -gt 8 ] ; then false ; else true ; fi
     102        @if [ `wc -l < "$(ERRORLOG)"` -gt 8 ] ; then false ; else true ; fi
    103103
    104104${ARCH_DISTDIR}/%: %
     
    231231        -${INSTALL} gem/gem7 ${BINDIR} 2>/dev/null
    232232        @# enable OSX Help Viewer
    233         @if [ "`cat include/Make/Platform.make | grep -i '^ARCH.*darwin'`" ] ; then /bin/ln -sfh "${INST_DIR}/docs/html" /Library/Documentation/Help/GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR} ; fi
     233        @if [ "`grep -i '^ARCH.*darwin' < include/Make/Platform.make`" ] ; then /bin/ln -sfh "${INST_DIR}/docs/html" /Library/Documentation/Help/GRASS-${GRASS_VERSION_MAJOR}.${GRASS_VERSION_MINOR} ; fi
    234234
    235235
Note: See TracChangeset for help on using the changeset viewer.