summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/fr-command-rpm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index d0eabc0..928a128 100644
--- a/configure.ac
+++ b/configure.ac
@@ -199,7 +199,7 @@ fi
AM_CONDITIONAL(ENABLE_MAGIC, test x"$enable_magic" != x"no")
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 60e2796..fd23790 100644
--- a/src/fr-command-rpm.c
+++ b/src/fr-command-rpm.c
@@ -252,7 +252,7 @@ static const char *
fr_command_rpm_get_packages (FrCommand *comm,
const char *mime_type)
{
- return PACKAGES (CPIO_PATH ",rpm");
+ return PACKAGES ("cpio,rpm");
}