From: Luigi Rizzo Date: Fri, 10 Nov 2006 17:22:51 +0000 (+0000) Subject: manual merge from 1.4: X-Git-Tag: 1.6.0-beta1~3^2~4046 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47a95b3f380c2e7b4613605c1ce06a5f605e01e9;p=thirdparty%2Fasterisk.git 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 --- diff --git a/build_tools/prep_moduledeps b/build_tools/prep_moduledeps index 93dc896759..21f1f5e4a9 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() {