CI: switch lupdate-versions checked for

- look for the more-specific lupdate-qt5 first, then the generic one
 - in practice this is moot, though, since the only person running
   this script is me, on one of my development VMs

Reported by Kevin Kofler (who rightly points out that lupdate *might*
be a Qt4 or even Qt3-era executable).
This commit is contained in:
Adriaan de Groot 2020-01-26 00:43:21 +01:00
parent e967b121e2
commit c18d40f61b

View File

@ -50,7 +50,7 @@ fi
# #
# #
LUPDATE="" LUPDATE=""
for _lupdate in lupdate lupdate-qt5 for _lupdate in lupdate-qt5 lupdate
do do
export QT_SELECT=5 export QT_SELECT=5
$_lupdate -version > /dev/null 2>&1 || export QT_SELECT=qt5 $_lupdate -version > /dev/null 2>&1 || export QT_SELECT=qt5