Skip to content

Commit

Permalink
Use "_" instead of "$" to avoid potential shell confusion. See #411.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed Aug 28, 2014
1 parent bdc4ba5 commit a5af511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/dub/dub.d
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ class Dub {

logInfo("Placing %s %s to %s...", packageId, ver, placement.toNativeString());
auto clean_package_version = ver[ver.startsWith("~") ? 1 : 0 .. $];
clean_package_version = clean_package_version.replace("+", "$"); // + has special meaning for Optlink
clean_package_version = clean_package_version.replace("+", "_"); // + has special meaning for Optlink
Path dstpath = placement ~ (packageId ~ "-" ~ clean_package_version);

return m_packageManager.storeFetchedPackage(tempFile, pinfo, dstpath);
Expand Down

0 comments on commit a5af511

Please sign in to comment.