sysutils: add -x to cp in linktree

Since you can't make cross-device links, you'd think that cp -l (make
links) would imply -x (don't cross devices).

You'd be wrong.
This commit is contained in:
Will Woods 2013-03-18 11:58:35 -04:00
parent ad3d1e6278
commit 3a1e176cbb
1 changed files with 1 additions and 2 deletions

View File

@ -106,5 +106,4 @@ def remove(target):
os.unlink(target)
def linktree(src, dst):
runcmd(["/bin/cp", "-al", src, dst])
runcmd(["/bin/cp", "-alx", src, dst])