diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/path.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py index 1310e38fe1..d0588baf15 100644 --- a/meta/lib/oe/path.py +++ b/meta/lib/oe/path.py | |||
@@ -93,7 +93,7 @@ def copyhardlinktree(src, dst): | |||
93 | if (os.stat(src).st_dev == os.stat(dst).st_dev): | 93 | if (os.stat(src).st_dev == os.stat(dst).st_dev): |
94 | # Need to copy directories only with tar first since cp will error if two | 94 | # Need to copy directories only with tar first since cp will error if two |
95 | # writers try and create a directory at the same time | 95 | # writers try and create a directory at the same time |
96 | cmd = 'cd %s; find . -type d -print | tar -cf - -C %s -p --files-from - | tar -xf - -C %s' % (src, src, dst) | 96 | cmd = 'cd %s; find . -type d -print | tar -cf - -C %s -p --files-from - --no-recursion | tar -xf - -C %s' % (src, src, dst) |
97 | check_output(cmd, shell=True, stderr=subprocess.STDOUT) | 97 | check_output(cmd, shell=True, stderr=subprocess.STDOUT) |
98 | if os.path.isdir(src): | 98 | if os.path.isdir(src): |
99 | src = src + "/*" | 99 | src = src + "/*" |