Fixed crash when installing dummy locales if locales dir doesn't exist.
This commit is contained in:
parent
a5ed42c1dd
commit
61469a774b
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ if env["nls"]:
|
|||
languages = map(lambda x: x + "@wesnoth", languages)
|
||||
for language in languages:
|
||||
env.Command(
|
||||
os.path.join("locales", language),
|
||||
Dir(os.path.join("locales", language)),
|
||||
"locales/C",
|
||||
"ln -sf $SOURCE.filebase $TARGET"
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue