diff options
author | Holger Freyther <zecke@selfish.org> | 2005-09-19 12:29:59 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-19 12:29:59 +0000 |
commit | 57c3acf775eeb9f8a2613c3752688d7816f2b0a4 (patch) | |
tree | e146788bde63677bbc22b17d8c476eced456adf8 /classes/base.bbclass | |
parent | 06926d0f7b737204ff8f31d8551d72e223ce4a78 (diff) |
GNU cp has a nice -a switch, sadly the BSD tools lack it
update our descriptions to work with any version of cp. Patches that include
cp -a are not changed. They seem to work and I'm too scared busybox cp
is more like GNU cp than BSD cp. (e.g do not know about P)
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r-- | classes/base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass index 066f7af9da..18d51a02ed 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -371,7 +371,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 -a %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: |