提交 9c053be2 authored 作者: Brian West's avatar Brian West

fix modcheck to properly deal with prefix and don't alert on anything that isn't…

fix modcheck to properly deal with prefix and don't alert on anything that isn't mod_ because ftmod_ gets installed here too and will alert
上级 7b5d1780
......@@ -5,6 +5,9 @@ mods=$1
on=''
off=''
prefix=`cat ../config.log | grep ^prefix=\' | awk -F \' '{print $2}'`
mods=${prefix}/mod;
if [ -z $mods ] ; then
mods="/usr/local/freeswitch/mod"
fi
......@@ -15,7 +18,7 @@ echo
here=`pwd`
cd $mods
files=`ls *.dylib *.so 2>/dev/null`
files=`ls mod_*.dylib mod_*.so 2>/dev/null`
cd $here
for i in $files ; do
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论