[asterisk-commits] rizzo: branch 1.4 r47444 - /branches/1.4/build_tools/prep_moduledeps

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Nov 10 10:13:35 MST 2006


Author: rizzo
Date: Fri Nov 10 11:13:34 2006
New Revision: 47444

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47444
Log:
grep -m is not available on BSD, so use head -1 instead


Modified:
    branches/1.4/build_tools/prep_moduledeps

Modified: branches/1.4/build_tools/prep_moduledeps
URL: http://svn.digium.com/view/asterisk/branches/1.4/build_tools/prep_moduledeps?view=diff&rev=47444&r1=47443&r2=47444
==============================================================================
--- branches/1.4/build_tools/prep_moduledeps (original)
+++ branches/1.4/build_tools/prep_moduledeps Fri Nov 10 11:13:34 2006
@@ -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() {



More information about the asterisk-commits mailing list