~mozillateam/thunderbird/thunderbird.disco

« back to all changes in this revision

Viewing changes to debian/build/create-tarball.py

  • Committer: Olivier Tilloy
  • Date: 2020-01-10 12:02:40 UTC
  • Revision ID: olivier.tilloy@canonical.com-20200110120240-k9tilvvxu3de0vhc
* Fix creating the source tarball with recent versions of cargo
  - debian/build/create-tarball.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
          with ScopedWorkingDirectory('vendor/cbindgen'):
140
140
            os.makedirs('.cargo')
141
141
            with open('.cargo/config', 'w') as fd:
142
 
              fd.write(CheckOutput(['cargo', 'vendor', '--relative-path']))
 
142
              fd.write(CheckOutput(['cargo', 'vendor']))
143
143
            with open('Cargo.toml', 'a+') as fd:
144
144
              fd.write('\n[workspace]')
145
145
        shutil.copytree('vendored-cbindgen/vendor/cbindgen', dest)