2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-17 15:39:59 +01:00

Fix silly syntax error.

This commit is contained in:
alexrp 2012-06-08 22:58:38 +02:00
parent 78aa2f3e92
commit fdf234c2a6

View File

@ -18,7 +18,7 @@ def find_dmd(conf):
out = conf.cmd_and_log([conf.env.D, '--help'])
if out.find("D Compiler v") == -1:
out = conf.cmd_and_log([conf.env.D, '-version'])
if out.find("based on DMD v1." == -1:
if out.find("based on DMD v1.") == -1:
conf.fatal("detected compiler is not dmd/ldc")
@conf