Fixed crash when installing dummy locales if locales dir doesn't exist.

This commit is contained in:
Sergey Popov 2008-08-20 14:00:49 +00:00
parent a5ed42c1dd
commit 61469a774b

View file

@ -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"
)