From 5abddc101d7c1330c69c45ff8f339e1e12556987 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 10 Jul 2022 11:07:12 +0800 Subject: [PATCH] Update yaf.sh --- plugins/php-apt/versions/common/yaf.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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;