summaryrefslogtreecommitdiffstats
path: root/rpm-find-leaves
diff options
context:
space:
mode:
Diffstat (limited to 'rpm-find-leaves')
-rw-r--r--rpm-find-leaves3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpm-find-leaves b/rpm-find-leaves
index 87aabdbb..7d4adc37 100644
--- a/rpm-find-leaves
+++ b/rpm-find-leaves
@@ -23,7 +23,8 @@ where [options] are from
my $urpm = urpm->new;
-while (my $_ = shift) {
+local $_;
+while ($_ = shift) {
$_ eq '--root' and do {
my $root = shift;
$root and urpm::set_files($urpm, $root);