提交 89cbbb2e authored 作者: Brian West's avatar Brian West

Revert the changes I made the issue is in the build system not in this script if…

Revert the changes I made the issue is in the build system not in this script if DESTDIR is used will re-eval the correct approach.
上级 4516668d
...@@ -5,9 +5,6 @@ mods=$1 ...@@ -5,9 +5,6 @@ mods=$1
on='' on=''
off='' off=''
prefix=`cat ../config.log | grep ^prefix=\' | awk -F \' '{print $2}'`
mods=${DESTDIR}${prefix}/mod;
if [ -z $mods ] ; then if [ -z $mods ] ; then
mods="/usr/local/freeswitch/mod" mods="/usr/local/freeswitch/mod"
fi fi
...@@ -18,7 +15,7 @@ echo ...@@ -18,7 +15,7 @@ echo
here=`pwd` here=`pwd`
cd $mods cd $mods
files=`ls mod_*.dylib mod_*.so 2>/dev/null` files=`ls *.dylib *.so 2>/dev/null`
cd $here cd $here
for i in $files ; do for i in $files ; do
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论