aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-10 17:13:34 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-10 17:13:34 +0000
commiteae24098fc02178947eba65bcc170df15b45dd65 (patch)
treef131c79af7340f5e07e6b005b28b1b129898f662 /build_tools
parent843b42feac25bc64cdf9582a36fbb489c8bb6e44 (diff)
grep -m is not available on BSD, so use head -1 instead
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47444 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-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() {