Commit 7090eca7 authored by Sven Neumann's avatar Sven Neumann
Browse files

Attempt to validate the XML after updating.

parent bf933b5d
......@@ -34,3 +34,18 @@ echo "Building the $PACKAGE.pot, merging and updating ..."
intltool-update --gettext-package $PACKAGE $1
intltool-merge . gimp-tips.xml -x -u -c .intltool-merge-cache
xmllint=`which xmllint`
if test -n "$xmllint" && test -x "$xmllint"; then
echo "Validating gimp-tips.xml."
$xmllint --noout --valid gimp-tips.xml \
|| ( echo "*************************";
echo "* gimp-tips.xml INVALID *";
echo "*************************";
exit 1; )
echo "Can't find xmllint to validate gimp-tips.xml; proceed with fingers crossed...";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment