summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 9008121126..a5ba166a89 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -720,8 +720,8 @@ class FetchMethod(object):
720 destdir = "." 720 destdir = "."
721 elif not os.access("%s/%s" % (rootdir, destdir), os.F_OK): 721 elif not os.access("%s/%s" % (rootdir, destdir), os.F_OK):
722 os.makedirs("%s/%s" % (rootdir, destdir)) 722 os.makedirs("%s/%s" % (rootdir, destdir))
723 #cmd = 'cp -pPR %s %s/%s/' % (file, rootdir, destdir) 723 cmd = 'cp -pPR %s %s/%s/' % (file, rootdir, destdir)
724 cmd = 'tar -cf - -C "%d" -ps . | tar -xf - -C "%s/%s/"' % (file, rootdir, destdir) 724 #cmd = 'tar -cf - -C "%d" -ps . | tar -xf - -C "%s/%s/"' % (file, rootdir, destdir)
725 else: 725 else:
726 # The "destdir" handling was specifically done for FILESPATH 726 # The "destdir" handling was specifically done for FILESPATH
727 # items. So, only do so for file:// entries. 727 # items. So, only do so for file:// entries.