scripts/feeds: fix 'src-include' directive
Commit775b70f8d5renamed 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:775b70f8d5("scripts/feeds: allow adding parameters to feeds") Signed-off-by: Bjørn Mork <bjorn@mork.no>
This commit is contained in:
		 Bjørn Mork
					Bjørn Mork
				
			
				
					committed by
					
						 Jo-Philipp Wich
						Jo-Philipp Wich
					
				
			
			
				
	
			
			
			 Jo-Philipp Wich
						Jo-Philipp Wich
					
				
			
						parent
						
							6aa962a622
						
					
				
				
					commit
					a21b70be31
				
			| @@ -75,7 +75,7 @@ sub parse_file($$) { | |||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		if ($type eq "include") { | 		if ($type eq "include") { | ||||||
| 			parse_file($urls, $name) or | 			parse_file($urls, $existing) or | ||||||
| 			    die "Unable to open included file '$urls'"; | 			    die "Unable to open included file '$urls'"; | ||||||
| 			next; | 			next; | ||||||
| 		} | 		} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user