+2013-07-07 Daiki Ueno <ueno@gnu.org>
+
+ * lang-javascript: Fix gjs module checks.
+
2013-06-27 Daiki Ueno <ueno@gnu.org>
* xgettext-python-1: Test non-literal string concatenation with
${MSGFMT} -o l-javascript/fr/LC_MESSAGES/prog.mo l-javascript-fr.po
# Test for presence of gjs.
-(gjs -h) >/dev/null 2>/dev/null
-test $? -le 1 \
+(gjs -h) >/dev/null 2>/dev/null \
|| { echo "Skipping test: gjs not found"; rm -fr $tmpfiles; exit 77; }
-(gjs -c imports.gettext) >/dev/null 2>/dev/null
-test $? -le 1 \
+(gjs -c imports.gettext) >/dev/null 2>/dev/null \
|| { echo "Skipping test: gjs gettext module not found"; rm -fr $tmpfiles; exit 77; }
-(gjs -c imports.format) >/dev/null 2>/dev/null
-test $? -le 1 \
+(gjs -c imports.format) >/dev/null 2>/dev/null \
|| { echo "Skipping test: gjs format module not found"; rm -fr $tmpfiles; exit 77; }
# Test which of the fr_FR locales are installed.