Skip to content

Commit

Permalink
Mute translate.sh error message from 'which' when probing for lrelease
Browse files Browse the repository at this point in the history
  • Loading branch information
kiilerix committed Feb 2, 2021
1 parent 05f906e commit ecafcfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ else
languages="de_DE es_ES fr_FR it_IT nl_NL cz_CZ pt_BR ca_ES ja_JP"
fi

LRELEASE_BIN=$(which lrelease)
LRELEASE_BIN=$(which lrelease 2> /dev/null)

# if QTDIR has been defined, use those tools right away
if [ -n "$QTDIR" ]; then
Expand Down

0 comments on commit ecafcfd

Please sign in to comment.