mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
suppress No such file or directory
This commit is contained in:
parent
03e16899bc
commit
900850497d
@ -48,7 +48,7 @@ AM_INIT_AUTOMAKE(php, 4.0pa1)
|
||||
|
||||
PHP_VERSION=$VERSION
|
||||
echo "#define PHP_VERSION \"$PHP_VERSION\"" > php_version.h.new
|
||||
cmp php_version.h.new php_version.h >/dev/null
|
||||
cmp php_version.h.new php_version.h >/dev/null 2>&1
|
||||
if test $? -ne 0 ; then
|
||||
rm -f php_version.h && mv php_version.h.new php_version.h && \
|
||||
echo 'Updated php_version.h'
|
||||
|
Loading…
Reference in New Issue
Block a user