pull_ts.sh: verify lrelease is available

This commit is contained in:
Juergen E. Fischer 2014-11-14 09:57:12 +01:00
parent 770db71993
commit aa4338a05b

View File

@ -54,8 +54,13 @@ cleanup() {
PATH=$QTDIR/bin:$PATH
if ! type tx >/dev/null 2>&1; then
echo "tx not found"
exit 1
echo "tx not found"
exit 1
fi
if ! type lrelease >/dev/null 2>&1; then
echo "lrelease not found"
exit 1
fi
trap cleanup EXIT