Skip to content
Permalink
Browse files
pull_ts.sh: verify lrelease is available
  • Loading branch information
jef-n committed Nov 14, 2014
1 parent 770db71 commit aa4338a
Showing 1 changed file with 7 additions and 2 deletions.
@@ -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

0 comments on commit aa4338a

Please sign in to comment.