mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-18 17:47:32 +00:00
quote dir path
This commit is contained in:
parent
5488eff9b9
commit
7d42d26fe9
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user