Commit a00c8b6d authored by Volker Hilsheimer's avatar Volker Hilsheimer
Browse files

Correctly map project dir on Windows hosts

Always use "/" as the path separator.
parent a82a97ac
......@@ -26,7 +26,7 @@ if Vagrant::Util::Platform.windows?
$USER = ENV['USERNAME']
end
$MINICOIN_PROJECT_DIR = ENV["MINICOIN_PROJECT_DIR"] || Dir.pwd
$MINICOIN_PROJECT_DIR = (ENV["MINICOIN_PROJECT_DIR"] || Dir.pwd).gsub("\\", "/")
$PWD = File.dirname(__FILE__) #
ENV["PWD"] = $PWD if ENV["PWD"].nil?
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment