diff options
author | Gerald Combs <gerald.combs@riverbed.com> | 2018-09-18 21:57:33 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2018-09-18 22:00:01 +0000 |
commit | e644de16c3eb07d2d10848f949f51c9dfb4303c0 (patch) | |
tree | aa16e04663c4c6e753dad46a9342a434a306bc51 /tools/update-tx | |
parent | e7dd7099daac58ba594bcff66e91060954e51168 (diff) |
update-tx: Fix our file list.
LUPDATE_FILES is a string, not an array.
Change-Id: Ibeef6fd45805f82eeff8c26f7110779603d9d30a
Reviewed-on: https://code.wireshark.org/review/29724
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'tools/update-tx')
-rwxr-xr-x | tools/update-tx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/update-tx b/tools/update-tx index 3b5e2eba02..48843fe7e3 100755 --- a/tools/update-tx +++ b/tools/update-tx @@ -17,7 +17,8 @@ LUPDATE_FILES=$(find ui/qt -name '*.cpp' -o -name '*.h' -o -name '*.ui') # Add line numbers for i in ui/qt/*.ts ; do - lupdate -locations absolute "${LUPDATE_FILES[@]}" -ts "$i" + # shellcheck disable=SC2086 + lupdate -locations absolute ${LUPDATE_FILES} -ts "$i" done # Get last translation for Transifex @@ -25,7 +26,8 @@ tx pull -f # Regenerate last translation for repo for i in ui/qt/*.ts ; do - lupdate -locations absolute "${LUPDATE_FILES[@]}" -ts "$i" + # shellcheck disable=SC2086 + lupdate -locations absolute ${LUPDATE_FILES} -ts "$i" done # Push last change tranlastion on Transifex @@ -35,7 +37,8 @@ fi # Remove line numbers for i in ui/qt/*.ts ; do - lupdate -locations none -no-ui-lines "${LUPDATE_FILES[@]}" -ts "$i" + # shellcheck disable=SC2086 + lupdate -locations none -no-ui-lines ${LUPDATE_FILES} -ts "$i" done #Add new commit with last translaation update |