diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 7ec1fea5d0..551bfb70f2 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -1520,7 +1520,7 @@ class FetchMethod(object): | |||
1520 | if urlpath.find("/") != -1: | 1520 | if urlpath.find("/") != -1: |
1521 | destdir = urlpath.rsplit("/", 1)[0] + '/' | 1521 | destdir = urlpath.rsplit("/", 1)[0] + '/' |
1522 | bb.utils.mkdirhier("%s/%s" % (unpackdir, destdir)) | 1522 | bb.utils.mkdirhier("%s/%s" % (unpackdir, destdir)) |
1523 | cmd = 'cp -fpPRH %s %s' % (file, destdir) | 1523 | cmd = 'cp -fpPRH "%s" "%s"' % (file, destdir) |
1524 | 1524 | ||
1525 | if not cmd: | 1525 | if not cmd: |
1526 | return | 1526 | return |