mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-04 19:31:56 +00:00
debian: build different sets of modules based on the debian codename
This commit is contained in:
Vendored
+6
-3
@@ -30,14 +30,16 @@ avoid_mods=(
|
||||
event_handlers/mod_snmp
|
||||
formats/mod_portaudio_stream
|
||||
formats/mod_shout
|
||||
formats/mod_vlc
|
||||
languages/mod_java
|
||||
languages/mod_managed
|
||||
languages/mod_spidermonkey
|
||||
languages/mod_yaml
|
||||
sdk/autotools
|
||||
xml_int/mod_xml_ldap
|
||||
)
|
||||
avoid_mods_squeeze=(
|
||||
formats/mod_vlc
|
||||
languages/mod_spidermonkey
|
||||
)
|
||||
|
||||
err () {
|
||||
echo "$0 error: $1" >&2
|
||||
@@ -54,7 +56,8 @@ xread () {
|
||||
}
|
||||
|
||||
avoid_mod_filter () {
|
||||
for x in "${avoid_mods[@]}"; do
|
||||
local mods=("$(eval echo \${avoid_mods_$codename[@]})" "${avoid_mods[@]}")
|
||||
for x in "${mods[@]}"; do
|
||||
[ "$1" = "$x" ] && return 1
|
||||
done
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user