summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xseivot4
1 files changed, 2 insertions, 2 deletions
diff --git a/seivot b/seivot
index df9388f..d986fbf 100755
--- a/seivot
+++ b/seivot
@@ -383,8 +383,8 @@ class Seivot(cliapp.Application):
if self.settings['use-existing']:
if os.path.exists(self.live_data):
shutil.rmtree(self.live_data)
- shutil.copytree(self.settings['use-existing'], self.live_data,
- symlinks=True)
+ self.runcmd(['cp', '-a', self.settings['use-existing'],
+ self.live_data])
amount = self.file_sizes(self.live_data)
else:
amount = self.settings['initial-data']