Exclude ftmod_ as those are submodules of mod_freetdm

This commit is contained in:
Brian West 2014-06-20 10:18:10 -05:00
parent ffa09cd1e7
commit 0293d58406
1 changed files with 3 additions and 3 deletions

View File

@ -15,14 +15,14 @@ echo
here=`pwd`
cd $mods
files=`ls *.dylib *.so 2>/dev/null`
files=`ls *.so 2>/dev/null`
cd $here
for i in $files ; do
mod=${i%%.*}
infile=`grep ^.*$mod\$ ../modules.conf`
commented=`grep ^\#.*$mod\$ ../modules.conf`
infile=`grep ^.*$mod\$ ../modules.conf | grep -v ftmod_`
commented=`grep ^\#.*$mod\$ ../modules.conf | grep -v ftmod_`
if [ -z "$infile" ] ; then
echo "${on}WARNING: installed module: $i was not installed by this build. It is not present in modules.conf.${off}"