Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #27 from dawgfoto/master

rel2abs was deprecated
  • Loading branch information...
commit 9d54c377dddc4de7683e6c5d44cb63f55b5101a4 2 parents 9407304 + 966f90b
@braddr braddr authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 rdmd.d
View
4 rdmd.d
@@ -144,7 +144,7 @@ int main(string[] args)
return 1;
}
auto
- root = /*rel2abs*/(chomp(args[programPos], ".d") ~ ".d"),
+ root = /*absolutePath*/(chomp(args[programPos], ".d") ~ ".d"),
exeBasename = baseName(root, ".d"),
exeDirname = dirName(root),
programArgs = args[programPos + 1 .. $];
@@ -194,7 +194,7 @@ int main(string[] args)
{
//exe = exeBasename ~ '.' ~ hash(root, compilerFlags);
version (Posix)
- exe = buildPath(myOwnTmpDir, rel2abs(root)[1 .. $])
+ exe = buildPath(myOwnTmpDir, absolutePath(root)[1 .. $])
~ '.' ~ hash(root, compilerFlags) ~ binExt;
else version (Windows)
exe = buildPath(myOwnTmpDir, replace(root, ".", "-"))
Please sign in to comment.
Something went wrong with that request. Please try again.