diff --git a/src/pipeline.cc b/src/pipeline.cc index 2791d1bc..b7f0cfee 100644 --- a/src/pipeline.cc +++ b/src/pipeline.cc @@ -150,7 +150,7 @@ std::string GetCachePath(std::string src) { std::string ret = g_config->cache.directory + (src[0] == '/' ? src.substr(1) : src); #ifdef _WIN32 - std::replace(ret.begin(), ret.end(), ':', '@'); + std::replace(ret.begin()+2, ret.end(), ':', '@'); #endif return ret; }