From b6f43aeca1d327f478b7895327b95ba797cc64a4 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 11 Mar 2019 17:23:02 +0300 Subject: [PATCH] Fix bad 'rm' command's syntax --- src/Container/Container_i.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Container/Container_i.cxx b/src/Container/Container_i.cxx index 213a778cf..587b07f2e 100644 --- a/src/Container/Container_i.cxx +++ b/src/Container/Container_i.cxx @@ -1864,7 +1864,9 @@ void Engines_Container_i::clearTemporaryFiles() std::string command = "rm -rf "; #endif command += *it; - command += "\" 2>NUL"; +#ifdef WIN32 + command += "\" 2>NUL"; +#endif system( command.c_str() ); } _tmp_files.clear(); -- 2.39.2