You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sa...@locus.apache.org on 2000/06/11 13:43:45 UTC

cvs commit: apache-2.0/src/build fastgen.sh

sascha      00/06/11 04:43:45

  Modified:    src/build fastgen.sh
  Log:
  Avoid second invocation of cat.
  
  Revision  Changes    Path
  1.9       +1 -3      apache-2.0/src/build/fastgen.sh
  
  Index: fastgen.sh
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/build/fastgen.sh,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -u -r1.8 -r1.9
  --- fastgen.sh	2000/05/04 20:17:21	1.8
  +++ fastgen.sh	2000/06/11 11:43:45	1.9
  @@ -75,15 +75,13 @@
     dir=`echo $makefile|sed 's%/*[^/][^/]*$%%'`
     test -d "$dir/" || $mkdir_p "$dir/"
   
  -  (cat <<EOF
  +  cat - $top_srcdir/$makefile.in <<EOF >$makefile
   top_srcdir   = $top_srcdir
   top_builddir = $top_builddir
   srcdir       = $top_srcdir/$dir
   builddir     = $top_builddir/$dir
   VPATH        = $top_srcdir/$dir
   EOF
  -)| cat - $top_srcdir/$makefile.in > $makefile
   
     touch "$top_builddir/$dir/.deps"
  -
   done