summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 02d69d32e0..4a1b09b1a4 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -427,7 +427,7 @@ def oe_unpack_file(file, data, url = None):
427 destdir = "." 427 destdir = "."
428 elif not os.access("%s/%s" % (os.getcwd(), destdir), os.F_OK): 428 elif not os.access("%s/%s" % (os.getcwd(), destdir), os.F_OK):
429 os.makedirs("%s/%s" % (os.getcwd(), destdir)) 429 os.makedirs("%s/%s" % (os.getcwd(), destdir))
430 cmd = 'cp -pPR "%s" "%s/%s/"' % (file, os.getcwd(), destdir) 430 cmd = 'cp -pPR %s %s/%s/' % (file, os.getcwd(), destdir)
431 else: 431 else:
432 (type, host, path, user, pswd, parm) = bb.decodeurl(url) 432 (type, host, path, user, pswd, parm) = bb.decodeurl(url)
433 if not 'patch' in parm: 433 if not 'patch' in parm:
@@ -438,7 +438,7 @@ def oe_unpack_file(file, data, url = None):
438 else: 438 else:
439 destdir = "." 439 destdir = "."
440 bb.mkdirhier("%s/%s" % (os.getcwd(), destdir)) 440 bb.mkdirhier("%s/%s" % (os.getcwd(), destdir))
441 cmd = 'cp "%s" "%s/%s/"' % (file, os.getcwd(), destdir) 441 cmd = 'cp %s %s/%s/' % (file, os.getcwd(), destdir)
442 442
443 if not cmd: 443 if not cmd:
444 return True 444 return True