diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-04-06 13:06:01 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-04-06 11:36:38 +0000 |
commit | 13f1f2f12ddfc9b84535361d77a5f0f0ec8c3e0f (patch) | |
tree | e751f7fe58796cd707d48d823ece4e89715ef0dd | |
parent | cbef985e3c3e9af2d124d40959fc674b3b8aa33f (diff) | |
download | qttranslations-13f1f2f12ddfc9b84535361d77a5f0f0ec8c3e0f.tar.gz |
don't error out on non-existing projects
instead, silently ignore them - they typically stem from missing
repositories (usually, the obsolete ones).
Change-Id: Iaec00f8e88e4977bd820d1b8c3b5b8d5be30c72b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-rw-r--r-- | translations/translations.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/translations/translations.pro b/translations/translations.pro index e78d9c9..14673aa 100644 --- a/translations/translations.pro +++ b/translations/translations.pro @@ -13,7 +13,9 @@ TS_TARGETS = defineTest(addTsTarget) { dir = $$section(PWD, /, 0, -3) for(p, 3): \ - pros += -pro-out $$shadowed($$dir/$$dirname(p)) $$p + exists($$dir/$$p): \ + pros += -pro-out $$shadowed($$dir/$$dirname(p)) $$p + isEmpty(pros): return() cv = $${2}.commands $$cv = cd $$dir && $$LUPDATE $$pros -ts $$4 export($$cv) |