From: Sascha Schumann Date: Sun, 11 Jun 2000 10:33:39 +0000 (+0000) Subject: Remove unnecessary second cat invocation X-Git-Tag: php-4.0.1RC~279 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=438e9bdc93585fad62bc2143ce819b6d8882e542;p=php Remove unnecessary second cat invocation --- diff --git a/build/fastgen.sh b/build/fastgen.sh index 803695a536..19628332ca 100755 --- a/build/fastgen.sh +++ b/build/fastgen.sh @@ -23,7 +23,7 @@ # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ############################################################################## -# $Id: fastgen.sh,v 1.6 2000-05-12 07:37:42 sas Exp $ +# $Id: fastgen.sh,v 1.7 2000-06-11 10:33:39 sas Exp $ # srcdir=$1 @@ -43,19 +43,16 @@ fi for makefile in $@; do echo "creating $makefile" -# portable dirname dir=`echo $makefile|sed 's%/*[^/][^/]*$%%'` $mkdir_p "$dir/" - (cat <$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 test -z "$dir" || touch $dir/.deps - done