fetch2/local: Improve handling of wildcard matches
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Nov 2012 21:40:18 +0000 (21:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 25 Nov 2012 21:34:46 +0000 (21:34 +0000)
commit07b5f84133ac79aac4e939ea5f24390ad7f940a5
tree17d572ccfdb3a98cdff3d1e804cf4d80e2bf039f
parent4548a8f037eaf8d47a77052acc3e9ec264ac41e0
fetch2/local: Improve handling of wildcard matches

Currently wildcard matches end up working by FILESDIR being defined
in the metadata to a default of "." in FILESPATH which is hacky at best.

This patch adds the behaviour into the fetcher so its at least slightly
more explicit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/local.py