diff --git a/plugins/php-apt/versions/common/yaf.sh b/plugins/php-apt/versions/common/yaf.sh index 916731c87..c68daf6a1 100755 --- a/plugins/php-apt/versions/common/yaf.sh +++ b/plugins/php-apt/versions/common/yaf.sh @@ -18,9 +18,11 @@ if [ `echo "$version < 7.0"|bc` -eq 1 ];then fi -extVer=`bash $rootPath/lib.sh $version` +extVer=`bash $curPath/lib.sh $version` extFile=/usr/lib/php/${extVer}/${LIBNAME}.so + + if [ "$sysName" == "Darwin" ];then BAK='_bak' else @@ -52,7 +54,7 @@ Install_lib() make && make install && make clean fi - + echo "$extFile checking ..." if [ ! -f "$extFile" ];then echo "ERROR!" return;