diff --git a/build_tools/prep_moduledeps b/build_tools/prep_moduledeps index 93dc896759cd45c12ecec307377e282df561c1d1..21f1f5e4a9c203d1f149972fe30b8b1a71ee8c52 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() {