mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-31 18:43:28 +00:00
fix unzip param order on android's busybox
This commit is contained in:
parent
6a2de12266
commit
739802b85c
@ -32,8 +32,8 @@ static RIODesc *__open(RIO *io, const char *file, int rw, int mode) {
|
||||
d2 = strdup (d);
|
||||
d2 = r_str_concat (d2, "/");
|
||||
d2 = r_str_concat (d2, p+1);
|
||||
snprintf (cmd, sizeof (cmd), "unzip -o -d '%s' '%s' '%s'",
|
||||
d, str, p+1);
|
||||
snprintf (cmd, sizeof (cmd), "unzip -o '%s' '%s' -d '%s'",
|
||||
str, p+1, d);
|
||||
if (system (cmd) == 0)
|
||||
r_io_redirect (io, d2);
|
||||
free (d2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user