scripts/feeds: observe -p flag for preferential feeds
authorcyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 7 Jul 2015 11:30:39 +0000 (11:30 +0000)
committercyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 7 Jul 2015 11:30:39 +0000 (11:30 +0000)
commit94606dcbe82b9f39c8e6a1544afa607f8568a87c
treeba2acb021ad471aff7dc88ede2af80cddcbd336b
parent54b2f42f724c287d720ca4e12b297e9ea76f8a4d
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 <karlp@remake.is>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46213 3c298f89-4303-0410-b956-a3cf2f4a3e73
scripts/feeds