Skip to content

Commit

Permalink
pull_ts.sh: verify lrelease is available
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Nov 14, 2014
1 parent 770db71 commit aa4338a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/pull_ts.sh
Expand Up @@ -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
Expand Down

0 comments on commit aa4338a

Please sign in to comment.