comparison 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
comparison
equal deleted inserted replaced
189:a4c9de8e39b3 190:80660782bffe
291 } 291 }
292 292
293 if( 293 if(
294 help || 294 help ||
295 ( shouldSetup && !exists(dmdArchive) && !shouldDownload ) || 295 ( shouldSetup && !exists(dmdArchive) && !shouldDownload ) ||
296 ( shouldSetup && exists(dmdArchive) && !isfile(dmdArchive) ) 296 ( shouldSetup && exists(dmdArchive) && !isFile(dmdArchive) )
297 ) 297 )
298 { 298 {
299 write(helpMsg); 299 write(helpMsg);
300 return 1; 300 return 1;
301 } 301 }
302 302
303 if( !shouldSetup && (!exists(dmdLib) || !isfile(dmdLib)) ) 303 if( !shouldSetup && (!exists(dmdLib) || !isFile(dmdLib)) )
304 { 304 {
305 auto needSetupMsg = 305 auto needSetupMsg =
306 `'`~dmdLib~`' has not been built so you need to run the initial setup: 306 `'`~dmdLib~`' has not been built so you need to run the initial setup:
307 307
308 If you have GNU wget installed, just run: 308 If you have GNU wget installed, just run: