Changeset 160

Show
Ignore:
Timestamp:
06/27/06 09:29:46 (2 years ago)
Author:
aldacron
Message:

* buildme.d will now only pause on error on Windows (until I can learn a reliable alternative to system("pause") on Linux
* in buildme.d the "@" prefix, intended to silence command line output of the "del" command on Windows, was mistakenly being applied to "rm" on Linux. This has been rectified.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/buildme.d

    r159 r160  
    4545{ 
    4646    // Windows delete command 
    47     private static const char[] delCmd = "del "; 
     47    private static const char[] delCmd = "@del "; 
    4848     
    4949    // Windows library extension 
     
    222222    { 
    223223        writefln("\n\n " ~ packageName ~ " failed to build.\n"); 
    224         system("pause"); 
     224        version(Windows) system("pause"); 
    225225    } 
    226226     
    227227    // delete the temporary build response file 
    228228    writefln("Deleting temporary build response file...\n\n"); 
    229     system("@" ~ delCmd ~ tempBrf); 
     229    system(delCmd ~ tempBrf); 
    230230     
    231231}