mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Work around an issue that caused menuselect to display a bogus description for
app_voicemail and chan_zap. These modules use some preprocessor directives to determine what it will report to Asterisk as its description. However, the way we extract this information from the source files for menuselect is not smart enough to figure this out. (issue #8326, #8328) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
get_description() {
|
||||
TDESC=`grep -e AST_MODULE_INFO ${1} | cut -d '"' -f 2`
|
||||
TDESC=`grep -m 1 -e AST_MODULE_INFO ${1} | cut -d '"' -f 2`
|
||||
}
|
||||
|
||||
process_dir() {
|
||||
|
Reference in New Issue
Block a user