[PHP4BETA] CVS update: php4/scripts
| From: | andrey | Date: | Sat, 24 Apr 1999 21:21:35 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/scripts | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-489@lists.php.net to get a copy of this message | ||
Date: Saturday April 24, 1999 @ 17:21
Author: andrey
Update of /repository/php4/scripts
In directory php:/tmp/cvs-serv29615/scripts
Modified Files:
preconfig
Log Message:
Change cmp'risons to be cross-shell compatible.
Index: php4/scripts/preconfig
diff -u php4/scripts/preconfig:1.4 php4/scripts/preconfig:1.5
--- php4/scripts/preconfig:1.4 Wed Apr 21 09:47:05 1999
+++ php4/scripts/preconfig Sat Apr 24 17:21:35 1999
@@ -1,10 +1,11 @@
#!/bin/sh
#
-# $Id: preconfig,v 1.4 1999/04/21 13:47:05 ssb Exp $
+# $Id: preconfig,v 1.5 1999/04/24 21:21:35 andrey Exp $
makefiles=
echo ext/*/Makefile.am | sed -e 's/\.am//g'
sed -e "s#@@EXT_MAKEFILES@@#$makefiles#" configure.in.in > configure.in.new
-if ! cmp configure.in configure.in.new > /dev/null 2>&1; then
+cmp configure.in configure.in.new > /dev/null 2>&1
+if test $? -ne 0 ; then
mv configure.in.new configure.in
else
rm -f configure.in.new
@@ -17,7 +18,8 @@
cat $file >> acconfig.h.new
done
fi
-if ! cmp acconfig.h acconfig.h.new > /dev/null 2>&1; then
+cmp acconfig.h acconfig.h.new > /dev/null 2>&1
+if test $? -ne 0 ; then
mv acconfig.h.new acconfig.h
else
rm -f acconfig.h.new
--
PHP 4 Beta