[file-roller] use cpio if no binary is found
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] use cpio if no binary is found
- Date: Sun, 13 Dec 2015 10:21:15 +0000 (UTC)
commit eb8a7fae97ee8353c81096c304d90e87397c17ec
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Dec 13 11:19:55 2015 +0100
use cpio if no binary is found
configure.ac | 2 +-
src/fr-command-rpm.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 177b832..7076106 100644
--- a/configure.ac
+++ b/configure.ac
@@ -244,7 +244,7 @@ AC_SUBST(LIBARCHIVE_CFLAGS)
AM_CONDITIONAL(ENABLE_LIBARCHIVE, test x"$enable_libarchive" = xyes)
AC_ARG_VAR([CPIO], [Path to the `cpio` command])
-AC_PATH_PROGS(CPIO, gcpio cpio)
+AC_PATH_PROGS(CPIO, gcpio cpio, cpio)
AC_DEFINE_UNQUOTED(CPIO_PATH, "${CPIO}", [Path to cpio])
dnl ******************************
diff --git a/src/fr-command-rpm.c b/src/fr-command-rpm.c
index 5edbbd5..be86040 100644
--- a/src/fr-command-rpm.c
+++ b/src/fr-command-rpm.c
@@ -245,7 +245,7 @@ static const char *
fr_command_rpm_get_packages (FrArchive *archive,
const char *mime_type)
{
- return PACKAGES (CPIO_PATH ",rpm");
+ return PACKAGES ("cpio,rpm");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]