Author: cyrus Date: 2015-07-07 13:30:39 +0200 (Tue, 07 Jul 2015) New Revision: 46213
Modified: branches/chaos_calmer/scripts/feeds Log: scripts/feeds: observe -p flag for preferential feeds lookup_target was trampling the $feed variable, resulting in the -p flag no longer preferentially installing from the named feed. Make sure to use a local variable for this instead. Signed-off-by: Karl Palsson <[email protected]> Modified: branches/chaos_calmer/scripts/feeds =================================================================== --- branches/chaos_calmer/scripts/feeds 2015-07-07 10:22:25 UTC (rev 46212) +++ branches/chaos_calmer/scripts/feeds 2015-07-07 11:30:39 UTC (rev 46213) @@ -450,10 +450,10 @@ my $force = shift; my $ret = 0; - $feed = lookup_target($feed, $name); - $feed and do { + my $this_feed_target = lookup_target($feed, $name); + $this_feed_target and do { $installed_targets{$name} and return 0; - install_target($feed, $name); + install_target($this_feed_target, $name); return 0; }; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
