From: Bjørn Mork Date: Mon, 2 Sep 2019 11:49:21 +0000 (+0200) Subject: scripts/feeds: fix 'src-include' directive X-Git-Tag: v19.07.0-rc1~162 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7c811372d823d627e4150ea3b4adcd57a5a2794a;p=oweals%2Fopenwrt.git scripts/feeds: fix 'src-include' directive Commit 775b70f8d5df renamed parse_file() parameters without updating the recursive call. This broke parsing of any feeds.conf using 'src-include'. $ scripts/feeds update -a Can't use string ("defaults") as a HASH ref while "strict refs" in use at scripts/feeds line 63, <$fh> line 1. Fixes: 775b70f8d5df ("scripts/feeds: allow adding parameters to feeds") Signed-off-by: Bjørn Mork (cherry picked from commit a21b70be31a9d8adda0ae65cc38d1b3b4b6680d4) --- diff --git a/scripts/feeds b/scripts/feeds index e36e044a11..8de4075bc7 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -75,7 +75,7 @@ sub parse_file($$) { } if ($type eq "include") { - parse_file($urls, $name) or + parse_file($urls, $existing) or die "Unable to open included file '$urls'"; next; }