diff options
author | kh1 <karsten.heimrich@nokia.com> | 2012-05-07 16:53:12 +0200 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@nokia.com> | 2012-05-07 17:19:33 +0200 |
commit | 04191c8fc0435447a9fe5b4ce508f20dec703a3a (patch) | |
tree | 99868b6ec737b3df7fbed7340f79048991e6f7bc /src | |
parent | 35ee4255ea7902a8822224fb0a02965c94561e3c (diff) |
Fix broken check for translation files.
Even if SUCCESS contains false, the term evaluates to true
cause SUCCESS is not empty...
Change-Id: I259e6224de9816629c4fb538a49dd072ea58e7d3
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/sdk/sdk.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdk/sdk.pro b/src/sdk/sdk.pro index bdf515949..7ca88ef93 100644 --- a/src/sdk/sdk.pro +++ b/src/sdk/sdk.pro @@ -47,7 +47,7 @@ if (exists($$LRELEASE)) { IB_TRANSLATIONS += $$QT_TRANSLATIONS } - if (!isEmpty(SUCCESS)) { + if (contains(SUCCESS, true)) { updateqm.input = IB_TRANSLATIONS updateqm.output = $$PWD/translations/${QMAKE_FILE_BASE}.qm updateqm.commands = $$LRELEASE ${QMAKE_FILE_IN} -qm ${QMAKE_FILE_OUT} |