summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-10-23 21:08:42 +0100
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-03-15 07:49:41 +0100
commit548aea3b52f68af8da7f8fbd8067fc4600c8526b (patch)
treeb145b5b1293dc0fc4248fbd65b8d3f4abb0be5b9 /classes
parentdceac37e28932a99894c7e5e1d061635da9be118 (diff)
base.bbclass/bitbake.conf: Fix some string quoting to handle more unusual URLs (from Poky)
Diffstat (limited to 'classes')
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index b191940038..a54e6992b6 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -813,7 +813,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):
destdir = "."
filespath = bb.data.getVar("FILESPATH", data, 1).split(":")