aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-12-04 18:43:02 +0100
committerGitHub <noreply@github.com>2016-12-04 18:43:02 +0100
commit1fc1a17c61c585b1858a5da4e82276a6fc48af58 (patch)
tree5a7e01afd6793168b79559c92984d6450b9ddd2d
parent9697f5f656210d6d26f1f8c0ebccdcd0fba1c1db (diff)
parent306431f0b850fc39132af36064ea2d9daa32fa51 (diff)
downloadmitmproxy-1fc1a17c61c585b1858a5da4e82276a6fc48af58.tar.gz
mitmproxy-1fc1a17c61c585b1858a5da4e82276a6fc48af58.tar.bz2
mitmproxy-1fc1a17c61c585b1858a5da4e82276a6fc48af58.zip
Merge pull request #1813 from dwfreed/patch-1
release: fix dropping _main suffix
-rwxr-xr-xrelease/rtool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/rtool.py b/release/rtool.py
index f40e8dcb..4a6d1e16 100755
--- a/release/rtool.py
+++ b/release/rtool.py
@@ -196,7 +196,7 @@ def make_bdist():
executable += ".exe"
# Remove _main suffix from mitmproxy executable
- if executable.startswith("mitmproxy_main"):
+ if "_main" in executable:
shutil.move(
executable,
executable.replace("_main", "")