diff --git a/fdroidserver/update.py b/fdroidserver/update.py index b03258ba..4647ed09 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -159,7 +159,7 @@ def main(): # Get the signature (or md5 of, to be precise)... p = subprocess.Popen(['java', 'getsig', os.path.join(os.getcwd(), apkfile)], - cwd=os.path.join(sys.path[0], 'getsig'), + cwd=os.path.join(os.path.dirname(__file__), 'getsig'), stdout=subprocess.PIPE) output = p.communicate()[0] if options.verbose: