summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-04-20 01:03:12 +0000
committerStig Bakken <ssb@php.net>1999-04-20 01:03:12 +0000
commit54468d2e75aeb1ace053ff405f5f539a0012ba76 (patch)
treee308e39abaefdb62a90deaeb6329ca023f815592 /scripts
parentb7c30c1bdf209bc270755bcafac45908fc8daf2f (diff)
downloadphp-git-54468d2e75aeb1ace053ff405f5f539a0012ba76.tar.gz
odbc compiles and runs on UNIX again (tested with Solid 2.3)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/preconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/preconfig b/scripts/preconfig
index b230de4662..40d182d8f0 100755
--- a/scripts/preconfig
+++ b/scripts/preconfig
@@ -4,7 +4,7 @@
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 2>/dev/null; then
+if ! cmp configure.in configure.in.new > /dev/null 2>&1; then
mv configure.in.new configure.in
else
rm -f configure.in.new
@@ -17,7 +17,7 @@ if test "$confighfiles" != "ext/*/config.h.stub"; then
cat $file >> acconfig.h.new
done
fi
-if ! cmp acconfig.h acconfig.h.new 2>/dev/null; then
+if ! cmp acconfig.h acconfig.h.new > /dev/null 2>&1; then
mv acconfig.h.new acconfig.h
autoheader
else