[asterisk-commits] rizzo: trunk r47445 - /trunk/build_tools/prep_moduledeps

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Nov 10 10:22:51 MST 2006


Author: rizzo
Date: Fri Nov 10 11:22:51 2006
New Revision: 47445

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47445
Log:
manual merge from 1.4:
grep -m not available on bsd, use head -1 which works for all


Modified:
    trunk/build_tools/prep_moduledeps

Modified: trunk/build_tools/prep_moduledeps
URL: http://svn.digium.com/view/asterisk/trunk/build_tools/prep_moduledeps?view=diff&rev=47445&r1=47444&r2=47445
==============================================================================
--- trunk/build_tools/prep_moduledeps (original)
+++ trunk/build_tools/prep_moduledeps Fri Nov 10 11:22:51 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