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 /meta | |
parent | 119b1d5b090153bee61d96f1c0c371ed04a53cfa (diff) | |
download | openembedded-core-91bbcd4ffae59014c4f462a4f543521cbf9935c3.tar.gz openembedded-core-91bbcd4ffae59014c4f462a4f543521cbf9935c3.tar.bz2 openembedded-core-91bbcd4ffae59014c4f462a4f543521cbf9935c3.zip |
base.bbclass: Start to fix quoting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2126 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-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): destdir = "." elif not os.access("%s/%s" % (os.getcwd(), destdir), os.F_OK): os.makedirs("%s/%s" % (os.getcwd(), destdir)) - cmd = 'cp -pPR %s %s/%s/' % (file, os.getcwd(), destdir) + cmd = 'cp -pPR "%s" "%s/%s/"' % (file, os.getcwd(), destdir) else: (type, host, path, user, pswd, parm) = bb.decodeurl(url) if not 'patch' in parm: @@ -438,7 +438,7 @@ def oe_unpack_file(file, data, url = None): else: destdir = "." bb.mkdirhier("%s/%s" % (os.getcwd(), destdir)) - cmd = 'cp %s %s/%s/' % (file, os.getcwd(), destdir) + cmd = 'cp "%s" "%s/%s/"' % (file, os.getcwd(), destdir) if not cmd: return True |