Skip to content

Commit

Permalink
use buildPath to make a portable path
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Colvin committed Oct 13, 2019
1 parent ff62c53 commit 7369fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/install/dmd.d
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class DMDInstaller : Installer
@property override string subdirectory() { return "dmd-" ~ dmdVersion; }

@property override string[] requiredExecutables() { return ["dmd"]; }
@property override string[] binPaths() { return ["dmd2/" ~ platformDir ~ "/bin" ~ modelString]; }
@property override string[] binPaths() { return [buildPath("dmd2", platformDir, "bin", modelString)]; }

@property string url() { return "http://downloads.dlang.org/releases/%s.x/%s/dmd.%s.%s.zip".format(
dmdVersion[0], dmdVersion, dmdVersion, platformSuffix); }
Expand Down

0 comments on commit 7369fa7

Please sign in to comment.