diff --git a/src/nnn.c b/src/nnn.c index 05e1f47b..88f7eb8e 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1300,11 +1300,10 @@ static void archive_selection(const char *cmd, const char *archive, const char * char *buf = (char *)malloc(CMD_LEN_MAX * sizeof(char)); snprintf(buf, CMD_LEN_MAX, #ifdef __linux__ - "xargs -0 -a %s %s %s", + "xargs -0 -a %s %s %s", g_cppath, cmd, archive); #else - "cat %s | xargs -0 -o %s %s", + "cat %s | xargs -0 -o %s %s", g_cppath, cmd, archive); #endif - g_cppath, cmd, archive); spawn("sh", "-c", buf, curpath, F_NORMAL); free(buf); }