mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-12-19 03:37:46 +00:00
[Build-System] Allow out-of-tree modules to stay commented out in modules.conf and fix false-positive warnings from module integrity checking when running make install.
This commit is contained in:
@@ -21,8 +21,8 @@ cd $here
|
||||
for i in $files ; do
|
||||
mod=${i%%.*}
|
||||
|
||||
infile=`grep ^.*$mod\$ ../modules.conf | grep -v ftmod_`
|
||||
commented=`grep ^\#.*$mod\$ ../modules.conf | grep -v ftmod_`
|
||||
infile=`grep -E "^.*$mod(\|.*)?$" ../modules.conf | grep -v ftmod_`
|
||||
commented=`grep -E "^\#.*$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}"
|
||||
|
||||
Reference in New Issue
Block a user