diff options
author | Florian Bruhin <git@the-compiler.org> | 2016-01-05 07:14:11 +0100 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2016-01-05 07:14:11 +0100 |
commit | eefc94fb4dde6cdd40090602a42c834db1d0aebe (patch) | |
tree | a6e002651a98dd267db4e1bd62912db0f6987889 | |
parent | 129990857a689b3f35dd3c4c4f13ec315f71a59d (diff) | |
download | qutebrowser-eefc94fb4dde6cdd40090602a42c834db1d0aebe.tar.gz qutebrowser-eefc94fb4dde6cdd40090602a42c834db1d0aebe.zip |
Fix build_release.py with inexistent dist-dir.
-rwxr-xr-x | scripts/dev/build_release.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index ab207d422..5d9b62435 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -150,7 +150,7 @@ def build_sdist(): """Build an sdist and list the contents.""" utils.print_title("Building sdist") - shutil.rmtree('dist') + _maybe_remove('dist') subprocess.check_call([sys.executable, 'setup.py', 'sdist']) dist_files = os.listdir(os.path.abspath('dist')) |