aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2019-09-02 13:49:21 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-02 16:48:40 +0200
commita21b70be31a9d8adda0ae65cc38d1b3b4b6680d4 (patch)
tree5d160c6264c2f6eae9f4b428fdb6512e7e4feb31
parent6aa962a62288952aec08c1f67fb0735f420f720e (diff)
downloadupstream-a21b70be31a9d8adda0ae65cc38d1b3b4b6680d4.tar.gz
upstream-a21b70be31a9d8adda0ae65cc38d1b3b4b6680d4.tar.bz2
upstream-a21b70be31a9d8adda0ae65cc38d1b3b4b6680d4.zip
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 <bjorn@mork.no>
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
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;
}