diff options
Diffstat (limited to 'scripts/make_release.py')
| -rw-r--r-- | scripts/make_release.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/make_release.py b/scripts/make_release.py index f9ff9e94..b056bc4e 100644 --- a/scripts/make_release.py +++ b/scripts/make_release.py @@ -1,4 +1,7 @@ -import shutil, os, sys, zipfile +import shutil, os, re, sys, zipfile +match = re.search('(.*)/', sys.argv[0]) +if match != None: + os.chdir(match.group(1)) #valid_platforms = ["win32", "linux86", "linux86_64", "src"] |