quote dir path

This commit is contained in:
Ari Lazier 2016-06-20 12:02:55 -07:00
parent 5488eff9b9
commit 7d42d26fe9
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ void copy_bundled_realm_files()
void remove_realm_files_from_directory(const std::string &dir_path) void remove_realm_files_from_directory(const std::string &dir_path)
{ {
std::string delete_realms = "rm -rf " + dir_path + "/*.realm*"; std::string delete_realms = "rm -rf '" + dir_path + "'/*.realm*";
system(delete_realms.c_str()); system(delete_realms.c_str());
} }