[gtk-doc] gtkdocize: fix the configure grepping even more
- From: Stefan Kost <stefkost src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk-doc] gtkdocize: fix the configure grepping even more
- Date: Wed, 6 Jan 2010 21:11:18 +0000 (UTC)
commit 4785ec844c09f3e74011804c2ba4d93602aa1501
Author: Stefan Kost <ensonic users sf net>
Date: Wed Jan 6 23:09:04 2010 +0200
gtkdocize: fix the configure grepping even more
Using backticks in the if was nonsense and swallowed the grep result. We also
don't want to show anything on stdout.
gtkdocize.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkdocize.in b/gtkdocize.in
index c7eeefd..36837bc 100644
--- a/gtkdocize.in
+++ b/gtkdocize.in
@@ -37,7 +37,7 @@ if test $no_configure_found -eq 0; then
if test $? -eq 0; then
# GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
params=`echo $macro | sed -e 's/^GTK_DOC_CHECK(\ *\(.*\))/\1/'`
- if `echo $params | grep '^.*\,\ *\[\{0,1\}'`; then
+ if echo $params | grep -q '^.*\,\ *\[\{0,1\}'; then
extra_options=`echo $params | sed -e 's/^.*\,\ *\[\{0,1\}\([^]]*\)\]\{0,1\}\ *$/\1/'`
#echo >&2 "DEBUG: adding extra options [$extra_options] to [$*]"
set - $* $GTKDOCIZE_FLAGS $extra_options
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]