aboutsummaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorDoug Freed <dwfreed@mtu.edu>2016-12-04 17:41:31 +0000
committerDoug Freed <dwfreed@mtu.edu>2016-12-04 17:41:31 +0000
commit306431f0b850fc39132af36064ea2d9daa32fa51 (patch)
tree5a7e01afd6793168b79559c92984d6450b9ddd2d /release
parent9697f5f656210d6d26f1f8c0ebccdcd0fba1c1db (diff)
downloadmitmproxy-306431f0b850fc39132af36064ea2d9daa32fa51.tar.gz
mitmproxy-306431f0b850fc39132af36064ea2d9daa32fa51.tar.bz2
mitmproxy-306431f0b850fc39132af36064ea2d9daa32fa51.zip
release: fix dropping _main suffix
Diffstat (limited to 'release')
-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", "")