diff options
author | Jasper Lievisse Adriaanse <[email protected]> | 2015-04-16 13:08:28 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-01-04 13:34:23 +0100 |
commit | 0ebcf1dcd060704f1d6adb6891592ab969569b7d (patch) | |
tree | b8a1878caf1c618bb887bf781ac8a52c06b77292 /src/commands | |
parent | a918872fa8d9d904e2bca8ed15de4ebc3a998540 (diff) | |
download | engrampa-0ebcf1dcd060704f1d6adb6891592ab969569b7d.tar.bz2 engrampa-0ebcf1dcd060704f1d6adb6891592ab969569b7d.tar.xz |
add a configure environment variable to select the cpio path
on some systems (like OpenBSD), gcpio is prefered over the base cpio.
origin commit:
https://gitlab.gnome.org/GNOME/file-roller/commit/8a51165
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/rpm2cpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/rpm2cpio.c b/src/commands/rpm2cpio.c index b55fb24..e945d50 100644 --- a/src/commands/rpm2cpio.c +++ b/src/commands/rpm2cpio.c @@ -128,7 +128,7 @@ main (int argc, char **argv) archive_command = "bzip2 -dc"; fclose (stream); - command = g_strdup_printf ("sh -c \"dd if=%s ibs=%u skip=1 2>/dev/null | %s | cpio %s\"", g_shell_quote (filename), offset, archive_command, cpio_args->str); + command = g_strdup_printf ("sh -c \"dd if=%s ibs=%u skip=1 2>/dev/null | %s | " CPIO_PATH " %s\"", g_shell_quote (filename), offset, archive_command, cpio_args->str); return system (command); } |