1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-27 19:37:10 +00:00

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
This commit is contained in:
Richard Purdie
2008-04-27 12:53:36 +00:00
parent d10b26644b
commit acc62fcec3
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -64,6 +64,9 @@ class Local(Fetch):
"""
Check the status of the url
"""
if urldata.localpath.find("*") != -1:
bb.msg.note(1, bb.msg.domain.Fetcher, "URL %s looks like a glob and was therefore not checked." % url)
return True
if os.path.exists(urldata.localpath):
return True
return False