diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-10 17:22:51 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-10 17:22:51 +0000 |
commit | 33ce8e0f39bb71a21cfbdde5031a95e5245b706a (patch) | |
tree | 20c2290c31fe7845872d66cddcda6fbe9ea20a74 /build_tools | |
parent | 597aa05da580ab8d40c4e2bec66c321ed20803f3 (diff) |
manual merge from 1.4:
grep -m not available on bsd, use head -1 which works for all
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47445 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 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() { |