summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--rpm-find-leaves3
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a66558ef..5a7b8439 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpmi_rpm-find-leaves
+ o fix running with perl-5.26 (mga#23172)
+
Version 8.111 - 19 September 2017
- gurpmi:
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);