Fix silly syntax error.

This commit is contained in:
alexrp 2012-06-08 22:58:38 +02:00
parent 78aa2f3e92
commit fdf234c2a6
1 changed files with 1 additions and 1 deletions

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