diff options
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/open_db.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm index 70c5d2df..d7b3de40 100644 --- a/Rpmdrake/open_db.pm +++ b/Rpmdrake/open_db.pm @@ -59,7 +59,7 @@ sub open_rpm_db { $db = new URPM; $db->parse_synthesis("$::env/rpmdb.cz"); } else { - $db = URPM::DB::open($::env || $::rpmdrake_options{'rpm-root'}[0]); + $db = URPM::DB::open($::rpmdrake_options{'rpm-root'}[0]); } $db or die "Couldn't open RPM DB (" . ($::env ? "$::env/rpmdb.cz" : $::rpmdrake_options{'rpm-root'}[0]) . ")"; } |