cvs: php4 /build/ fastgen.sh
| From: | Sascha Schumann | Date: | Sun, 11 Jun 2000 10:33:39 +0000 |
| Subject: | cvs: php4 /build/ fastgen.sh | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-161@lists.php.net to get a copy of this message | ||
sas Sun Jun 11 03:33:39 2000 EDT
Modified files:
/php4/build fastgen.sh
Log:
Remove unnecessary second cat invocation
Index: php4/build/fastgen.sh
diff -u php4/build/fastgen.sh:1.6 php4/build/fastgen.sh:1.7
--- php4/build/fastgen.sh:1.6 Fri May 12 00:37:42 2000
+++ php4/build/fastgen.sh Sun Jun 11 03:33:39 2000
@@ -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 @@
for makefile in $@; do
echo "creating $makefile"
-# portable dirname
dir=
echo $makefile|sed 's%/*[^/][^/]*$%%'
$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
test -z "$dir" || touch $dir/.deps
-
done