Skip to content

Commit aa4338a

Browse files
committedNov 14, 2014
pull_ts.sh: verify lrelease is available
1 parent 770db71 commit aa4338a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
 

‎scripts/pull_ts.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,13 @@ cleanup() {
5454
PATH=$QTDIR/bin:$PATH
5555

5656
if ! type tx >/dev/null 2>&1; then
57-
echo "tx not found"
58-
exit 1
57+
echo "tx not found"
58+
exit 1
59+
fi
60+
61+
if ! type lrelease >/dev/null 2>&1; then
62+
echo "lrelease not found"
63+
exit 1
5964
fi
6065

6166
trap cleanup EXIT

0 commit comments

Comments
 (0)
Please sign in to comment.