From 60ef980f430fa59d3062ecf5e2ef5b1b87014c5c Mon Sep 17 00:00:00 2001 From: Martin Baliet Date: Thu, 9 May 2019 21:18:04 +0200 Subject: [PATCH] Fixed hierachicalPath on windows --- src/pipeline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }