diff options
author | Richard Purdie <richard@openedhand.com> | 2007-07-06 12:45:26 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-07-06 12:45:26 +0000 |
commit | 91bbcd4ffae59014c4f462a4f543521cbf9935c3 (patch) | |
tree | 71950359cba3c097277bc3d5f358e76a64feca9e | |
parent | 119b1d5b090153bee61d96f1c0c371ed04a53cfa (diff) | |
download | poky-91bbcd4ffae59014c4f462a4f543521cbf9935c3.tar.gz |
base.bbclass: Start to fix quoting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2126 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 4a1b09b1a4..02d69d32e0 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 |