summaryrefslogtreecommitdiff
path: root/build_tools/prep_moduledeps
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-11-10 17:22:51 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-11-10 17:22:51 +0000
commit47a95b3f380c2e7b4613605c1ce06a5f605e01e9 (patch)
tree20c2290c31fe7845872d66cddcda6fbe9ea20a74 /build_tools/prep_moduledeps
parent691363656fbdc83edf04b125317aebae6525c9e7 (diff)
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
Diffstat (limited to 'build_tools/prep_moduledeps')
-rwxr-xr-xbuild_tools/prep_moduledeps2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/prep_moduledeps b/build_tools/prep_moduledeps
index 93dc89675..21f1f5e4a 100755
--- a/build_tools/prep_moduledeps
+++ b/build_tools/prep_moduledeps
@@ -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() {