From 9cb311a6c96dc64bde4eecab9cab1943a5812e75 Mon Sep 17 00:00:00 2001 From: dami Date: Fri, 22 Aug 2025 19:07:41 +0800 Subject: [PATCH] Update install.sh --- plugins/op_waf/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/op_waf/install.sh b/plugins/op_waf/install.sh index dc4e53670..58d8578fb 100755 --- a/plugins/op_waf/install.sh +++ b/plugins/op_waf/install.sh @@ -75,7 +75,7 @@ Install_App(){ cd $serverPath/source/op_waf/lsqlite3_v096 find_cfg=`cat Makefile | grep 'SQLITE_DIR'` if [ "$find_cfg" == "" ];then - LIB_SQLITE_DIR=`brew info sqlite | grep /usr/local/Cellar/sqlite | cut -d \ -f 1 | awk 'END {print}'` + LIB_SQLITE_DIR=`brew info sqlite | grep /opt/homebrew/Cellar/sqlite | cut -d \ -f 1 | awk 'END {print}'` echo $LIB_SQLITE_DIR sed -i $BAK "s#\$(ROCKSPEC)#\$(ROCKSPEC) SQLITE_DIR=${LIB_SQLITE_DIR}#g" Makefile fi