mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 18:26:03 +00:00
scons: fix build failure on removal of campaigns due to old POTFILES.in
This commit is contained in:
parent
46b9e22aef
commit
0ab4ecbd8c
@ -24,7 +24,7 @@ def update_pot(target, source, env):
|
||||
|
||||
textdomains = glob("wesnoth*")
|
||||
po4a_domains = Split("wesnoth-manpages wesnoth-manual")
|
||||
textdomains = [domain for domain in textdomains if os.path.isdir(domain)]
|
||||
textdomains = [domain for domain in textdomains if os.path.isdir(domain) and os.path.exists(domain+"/"+domain+".pot")]
|
||||
linguas = Split(open("LINGUAS").read())
|
||||
|
||||
if "pot-update" in COMMAND_LINE_TARGETS:
|
||||
|
Loading…
x
Reference in New Issue
Block a user