From: yoonki.park Date: Mon, 14 Mar 2016 05:03:03 +0000 (+0900) Subject: Fixed a bug that it is blocked when installing app package with emulator 2.3.1 or 2.3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0316cea02113bfdf04bb33de78d443b4e804b8cb;p=sdk%2Ftools%2Fsdb.git Fixed a bug that it is blocked when installing app package with emulator 2.3.1 or 2.3 - It is blocked because SDB ask user to input "remove app package?" when installing app package. Add option "-f" with "rm" command to remove app package forcefully. Change-Id: I468c13d1caba61cf01ccb06843dd1806c884bff2 Signed-off-by: shingil.kang --- diff --git a/src/command_function.c b/src/command_function.c index e363990..aa96f33 100644 --- a/src/command_function.c +++ b/src/command_function.c @@ -795,7 +795,7 @@ int install(int argc, char **argv) { return 1; } - const char* SHELL_REMOVE_CMD = "shell:rm \"%s\""; + const char* SHELL_REMOVE_CMD = "shell:/bin/rm -f \"%s\""; snprintf(full_cmd, sizeof full_cmd, SHELL_REMOVE_CMD, destination); D(COMMANDLINE_MSG_FULL_CMD, "remove", full_cmd); if(__sdb_command(full_cmd) < 0) {