[vala-tests] Fix gio guess



commit cf0e85427cab4f3b0ad521eaeb3bcdfd3771d07f
Author: Jürg Billeter <j bitron ch>
Date:   Sun Mar 21 12:40:01 2010 +0100

    Fix gio guess

 src/test-common.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/test-common.sh b/src/test-common.sh
index 223baa9..a1ae8c6 100644
--- a/src/test-common.sh
+++ b/src/test-common.sh
@@ -23,7 +23,7 @@ function _test_get_args {
 function _test_make_guesses {
     ! grep "main" $TESTSRC >/dev/null && TESTRUN="${TESTRUN:-no}" VALAFLAGS="${VALAFLAGS:- -C}"
     grep "Gtk" $TESTSRC >/dev/null && PACKAGES="$PACKAGES --pkg gtk+-2.0" TESTRUN="${TESTRUN:-interact}"
-    grep -i " gio" $TESTSRC >/dev/null && PACKAGES="$PACKAGES --pkg gio-2.0"
+    grep -i "gio" $TESTSRC >/dev/null && PACKAGES="$PACKAGES --pkg gio-2.0"
     grep "DBus\." $TESTSRC >/dev/null && PACKAGES="$PACKAGES --pkg dbus-glib-1" TESTRUN="${TESTRUN:-skip}"
     grep -i "cairo" $TESTSRC >/dev/null && PACKAGES="$PACKAGES --pkg cairo" TESTRUN="${TESTRUN:-interact}"
     grep "GConf\." $TESTSRC >/dev/null && PACKAGES="$PACKAGES --pkg gconf-2.0" TESTRUN="${TESTRUN:-skip}"
@@ -168,4 +168,4 @@ _test_setup "$@"
 _test_compile
 _test_run
 _test_teardown
-exit $exitval
\ No newline at end of file
+exit $exitval



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]