]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Exclude ftmod_ as those are submodules of mod_freetdm
authorBrian West <brian@freeswitch.org>
Fri, 20 Jun 2014 15:18:10 +0000 (10:18 -0500)
committerBrian West <brian@freeswitch.org>
Fri, 20 Jun 2014 15:23:05 +0000 (10:23 -0500)
build/modcheck.sh

index 78f7c93f8531fcf13ef9da81484b3bf6ea5bca98..5df91f7e972b2998c16fdc1ba3802da2dc3affec 100644 (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}"