From fe4abff1068258dc2e1042ccb76b9ef954979a38 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Thu, 21 Jan 2016 12:37:03 -0800 Subject: [PATCH] delete files in the correct place --- src/android/platform.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/android/platform.cpp b/src/android/platform.cpp index 54d5ef1b..f91c2b76 100644 --- a/src/android/platform.cpp +++ b/src/android/platform.cpp @@ -22,13 +22,13 @@ std::string default_realm_file_directory() void ensure_directory_exists_for_file(const std::string &fileName) { - std::string cmd = "rm " + s_default_realm_directory + "/*.realm " + - s_default_realm_directory + "/*.realm.lock"; - system(cmd.c_str()); } void remove_realm_files_from_directory(const std::string &directory) { + std::string cmd = "rm " + s_default_realm_directory + "/*.realm " + + s_default_realm_directory + "/*.realm.lock"; + system(cmd.c_str()); } }