From 162baa60b71f38beec0df59572c41b34fc4a5f02 Mon Sep 17 00:00:00 2001 From: kartikdutt18 Date: Wed, 27 May 2020 11:51:32 +0530 Subject: [PATCH] Relative Path --- utils/utils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() + "/" +