Mercurial > projects > ddmd
diff buildHelper.d @ 190:80660782bffe
Fixed deprecated function call
author | korDen@korDen-pc |
---|---|
date | Sun, 25 Mar 2012 01:39:46 +0400 |
parents | 1a0c1126bc46 |
children | eb38fdcb3e62 |
line wrap: on
line diff
--- a/buildHelper.d Wed Jun 08 02:21:32 2011 -0400 +++ b/buildHelper.d Sun Mar 25 01:39:46 2012 +0400 @@ -293,14 +293,14 @@ if( help || ( shouldSetup && !exists(dmdArchive) && !shouldDownload ) || - ( shouldSetup && exists(dmdArchive) && !isfile(dmdArchive) ) + ( shouldSetup && exists(dmdArchive) && !isFile(dmdArchive) ) ) { write(helpMsg); return 1; } - if( !shouldSetup && (!exists(dmdLib) || !isfile(dmdLib)) ) + if( !shouldSetup && (!exists(dmdLib) || !isFile(dmdLib)) ) { auto needSetupMsg = `'`~dmdLib~`' has not been built so you need to run the initial setup: