Honor --root in rpmkeys too

This commit is contained in:
Panu Matilainen 2011-01-07 12:06:37 +02:00
parent 599094e258
commit b4f4e2255f
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ int main(int argc, char *argv[])
if (mode != MODE_LISTKEY && args == NULL) if (mode != MODE_LISTKEY && args == NULL)
argerror(_("no arguments given")); argerror(_("no arguments given"));
rpmtsSetRootDir(ts, rpmcliRootDir);
switch (mode) { switch (mode) {
case MODE_CHECKSIG: case MODE_CHECKSIG:
ec = rpmcliVerifySignatures(ts, args); ec = rpmcliVerifySignatures(ts, args);