mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 20:27:58 +02:00
base.bbclass/bitbake.conf: Fix some string quoting to handle more unusual URLs
This commit is contained in:
@@ -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 = "."
|
||||
|
||||
Reference in New Issue
Block a user