summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2016-01-05 07:14:11 +0100
committerFlorian Bruhin <git@the-compiler.org>2016-01-05 07:14:11 +0100
commiteefc94fb4dde6cdd40090602a42c834db1d0aebe (patch)
treea6e002651a98dd267db4e1bd62912db0f6987889
parent129990857a689b3f35dd3c4c4f13ec315f71a59d (diff)
downloadqutebrowser-eefc94fb4dde6cdd40090602a42c834db1d0aebe.tar.gz
qutebrowser-eefc94fb4dde6cdd40090602a42c834db1d0aebe.zip
Fix build_release.py with inexistent dist-dir.
-rwxr-xr-xscripts/dev/build_release.py2
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'))