|
|
@ -50,7 +50,7 @@ if [ ! -d $sourcePath/php/php${PHP_VER} ];then |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
#检测文件是否损坏. |
|
|
|
#检测文件是否损坏. |
|
|
|
md5_file_ok=92636453210f7f2174d6ee6df17a5811368f556a6c2c2cbcf019321e36456e01 |
|
|
|
md5_file_ok=3eec91294d8c09b3df80b39ec36d574ed9b05de4c8afcb25fa215d48f9ecbc6b |
|
|
|
if [ -f $sourcePath/php/php-${version}.tar.xz ];then |
|
|
|
if [ -f $sourcePath/php/php-${version}.tar.xz ];then |
|
|
|
md5_file=`sha256sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` |
|
|
|
md5_file=`sha256sum $sourcePath/php/php-${version}.tar.xz | awk '{print $1}'` |
|
|
|
if [ "${md5_file}" != "${md5_file_ok}" ]; then |
|
|
|
if [ "${md5_file}" != "${md5_file_ok}" ]; then |
|
|
|