summaryrefslogtreecommitdiff
path: root/rpmkeys.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-01-07 12:06:37 +0200
committerPanu Matilainen <pmatilai@redhat.com>2011-01-07 12:06:37 +0200
commitb4f4e2255f3bf5a9c738f6d9d67f477f208fe04b (patch)
treeaf6cbfe3370f5265f1d091c86c308b45fc3afcbd /rpmkeys.c
parent599094e258fc69d76ef9291355850a10508acb3a (diff)
downloadrpm-b4f4e2255f3bf5a9c738f6d9d67f477f208fe04b.tar.gz
rpm-b4f4e2255f3bf5a9c738f6d9d67f477f208fe04b.tar.bz2
rpm-b4f4e2255f3bf5a9c738f6d9d67f477f208fe04b.zip
Honor --root in rpmkeys too
Diffstat (limited to 'rpmkeys.c')
-rw-r--r--rpmkeys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpmkeys.c b/rpmkeys.c
index e6618990f..b91bb276b 100644
--- a/rpmkeys.c
+++ b/rpmkeys.c
@@ -60,6 +60,8 @@ int main(int argc, char *argv[])
if (mode != MODE_LISTKEY && args == NULL)
argerror(_("no arguments given"));
+ rpmtsSetRootDir(ts, rpmcliRootDir);
+
switch (mode) {
case MODE_CHECKSIG:
ec = rpmcliVerifySignatures(ts, args);