aboutsummaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-07-29 19:07:48 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-07-29 19:07:48 -0700
commit63f64cd66086f302f53456f29f60b1e28c8ee178 (patch)
tree4fc38ee9ce5f34d2f0bfd394d9dab8f7859c512a /release
parent3b71c19af34689b6c908956b45817864c14d451c (diff)
downloadmitmproxy-63f64cd66086f302f53456f29f60b1e28c8ee178.tar.gz
mitmproxy-63f64cd66086f302f53456f29f60b1e28c8ee178.tar.bz2
mitmproxy-63f64cd66086f302f53456f29f60b1e28c8ee178.zip
minor fixes
Diffstat (limited to 'release')
-rwxr-xr-xrelease/rtool.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/rtool.py b/release/rtool.py
index 051a5188..45e1416e 100755
--- a/release/rtool.py
+++ b/release/rtool.py
@@ -12,7 +12,7 @@ import subprocess
import sys
import tarfile
import zipfile
-from os.path import join, normpath, dirname, exists, basename
+from os.path import join, abspath, normpath, dirname, exists, basename
import click
import pysftp
@@ -34,7 +34,7 @@ else:
def Archive(name):
return tarfile.open(name, "w:gz")
-ROOT_DIR = normpath(join(dirname(__file__), ".."))
+ROOT_DIR = abspath(join(dirname(__file__), ".."))
RELEASE_DIR = join(ROOT_DIR, "release")
BUILD_DIR = join(RELEASE_DIR, "build")