lupdate path

This commit is contained in:
tooomm 2026-05-10 19:36:57 +02:00
parent a034c2e0ad
commit c058642269
2 changed files with 2 additions and 3 deletions

View file

@ -31,7 +31,7 @@ if [[ ! -e $FILE ]]; then
fi fi
# print version # print version
if ! lupdate -version; then if ! /usr/lib/qt6/bin/lupdate -version; then
echo "failed to run lupdate" >&2 echo "failed to run lupdate" >&2
exit 4; exit 4;
fi fi
@ -39,7 +39,7 @@ fi
# run lupdate, duplicating the output in stderr and saving it # run lupdate, duplicating the output in stderr and saving it
# for convenience we ignore that $DIRS will be split on spaces # for convenience we ignore that $DIRS will be split on spaces
# shellcheck disable=SC2086 # shellcheck disable=SC2086
if ! got="$(lupdate $DIRS -ts "$FILE" | tee /dev/stderr)"; then if ! got="$(/usr/lib/qt6/bin/lupdate $DIRS -ts "$FILE" | tee /dev/stderr)"; then
echo "failed to update $FILE with $DIRS" >&2 echo "failed to update $FILE with $DIRS" >&2
exit 4; exit 4;
fi fi

View file

@ -27,7 +27,6 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y --no-install-recommends qt6-l10n-tools sudo apt-get install -y --no-install-recommends qt6-l10n-tools
lupdate -version
- name: Update Cockatrice translation source - name: Update Cockatrice translation source
id: cockatrice id: cockatrice