Skip to content

Commit

Permalink
need to backslashes for DMD path on Windows
Browse files Browse the repository at this point in the history
- needed for CMD support in dlang.org's win32.mak
  • Loading branch information
MartinNowak committed Feb 17, 2015
1 parent 5e83c49 commit f5f7a26
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions create_dmd_release/create_dmd_release.d
Expand Up @@ -702,8 +702,16 @@ void buildAll(Bits bits, string branch, bool dmdOnly=false)
auto bitsDisplay = toString(bits);
auto makeModel = " MODEL="~bitsStr;
auto hideStdout = verbose? "" : " > "~devNull;
version (Windows) auto jobs = ""; else auto jobs = " -j4";
auto dmdEnv = " DMD=../dmd/src/dmd";
version (Windows)
{
auto jobs = "";
auto dmdEnv = ` DMD=..\dmd\src\dmd`;
}
else
{
auto jobs = " -j4";
auto dmdEnv = " DMD=../dmd/src/dmd";
}
auto isRelease = " RELEASE=1";
auto latest = " LATEST="~branch;

Expand Down

0 comments on commit f5f7a26

Please sign in to comment.