manual merge from 1.4:

grep -m not available on bsd, use head -1 which works for all



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo 2006-11-10 17:22:51 +00:00
parent 691363656f
commit 47a95b3f38
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
get_description() {
TDESC=`grep -m 1 -e AST_MODULE_INFO ${1} | cut -d '"' -f 2`
TDESC=`grep -e AST_MODULE_INFO ${1} | head -n 1 | cut -d '"' -f 2`
}
process_dir() {