~longsleep/snapcraft/snapcraft-debs-plugin

« back to all changes in this revision

Viewing changes to snapcraft/plugins/copy.py

  • Committer: Snappy Tarmac
  • Author(s): Ted Gould, John R. Lenton
  • Date: 2015-08-05 20:31:21 UTC
  • mfrom: (75.8.41 qml)
  • Revision ID: snappy_tarmac-20150805203121-tchab170kk5fckp3
QML Plugin by ted approved by mterry

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
            dst_dir = os.path.dirname(dst)
38
38
            if not os.path.exists(dst_dir):
39
39
                os.makedirs(dst_dir)
40
 
            res &= self.run(["cp", "--preserve=all", src, dst], cwd=os.getcwd())
 
40
            res &= self.run(["cp", "--preserve=all", "-R", src, dst], cwd=os.getcwd())
41
41
        return res