base.bbclass/bitbake.conf: Fix some string quoting to handle more unusual URLs

This commit is contained in:
Richard Purdie
2008-10-23 21:08:42 +01:00
parent e4aa77e88e
commit b8ff2b6cc3
2 changed files with 3 additions and 3 deletions

View File

@@ -641,7 +641,7 @@ def oe_unpack_file(file, data, url = None):
(type, host, path, user, pswd, parm) = bb.decodeurl(url)
if 'dos' in parm:
cmd = '%s -a' % cmd
cmd = '%s %s' % (cmd, file)
cmd = "%s '%s'" % (cmd, file)
elif os.path.isdir(file):
filesdir = os.path.realpath(bb.data.getVar("FILESDIR", data, 1))
destdir = "."