diff --git a/utils/utils.hpp b/utils/utils.hpp index e104e2c8..981f2f0c 100644 --- a/utils/utils.hpp +++ b/utils/utils.hpp @@ -67,7 +67,7 @@ class Utils command = "tar --force-local -xvzf " + boost::filesystem::current_path().string() + "\\" + - pathToArchiveTemp + " --strip-components=1"; + pathToArchiveTemp + "-C " + pathForExtractionTemp + " --strip-components=1"; std::cout << command << " \n " << boost::filesystem::current_path().string(); #else command = command + boost::filesystem::current_path().string() + "/" +