diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-09 21:26:27 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-09 21:26:27 +0000 |
commit | e34ce54a05609fd159b06dbfc7c8fbcfb46ca1ff (patch) | |
tree | 89aa9d54c8d09c4363ca220e2fd547301aad0d47 /build_tools | |
parent | 863c817196d4f0d9e14c97eb637a4460add42f55 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@47391 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/prep_moduledeps | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/prep_moduledeps b/build_tools/prep_moduledeps index d6ea8aef6..93dc89675 100755 --- a/build_tools/prep_moduledeps +++ b/build_tools/prep_moduledeps @@ -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() { |