diff options
author | Richard Purdie <richard@openedhand.com> | 2008-04-27 12:53:36 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-04-27 12:53:36 +0000 |
commit | acc62fcec320aa6bd19a40e1b118fe2b8aad0a08 (patch) | |
tree | 9b53432e8670ebd8ec8b70f112042d6c72ef1de3 /bitbake/lib/bb/fetch/local.py | |
parent | d10b26644bb398fc7d724320312f153861b892bf (diff) | |
download | poky-acc62fcec320aa6bd19a40e1b118fe2b8aad0a08.tar.gz |
bitbake: Tweak new URI checkstatus code slightly fixing two corner cases.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4354 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/fetch/local.py')
-rw-r--r-- | bitbake/lib/bb/fetch/local.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index a39cdce22f..54d598ae89 100644 --- a/bitbake/lib/bb/fetch/local.py +++ b/bitbake/lib/bb/fetch/local.py | |||
@@ -64,6 +64,9 @@ class Local(Fetch): | |||
64 | """ | 64 | """ |
65 | Check the status of the url | 65 | Check the status of the url |
66 | """ | 66 | """ |
67 | if urldata.localpath.find("*") != -1: | ||
68 | bb.msg.note(1, bb.msg.domain.Fetcher, "URL %s looks like a glob and was therefore not checked." % url) | ||
69 | return True | ||
67 | if os.path.exists(urldata.localpath): | 70 | if os.path.exists(urldata.localpath): |
68 | return True | 71 | return True |
69 | return False | 72 | return False |