repair fdroid --version

This commit is contained in:
Michael Pöhn 2020-01-21 00:00:11 +01:00
parent f21481ca81
commit 69fc38c668
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def main():
sys.exit(0)
elif command == '--version':
output = _('no version info found!')
cmddir = os.path.realpath(os.path.dirname(__file__))
cmddir = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))
moduledir = os.path.realpath(os.path.dirname(fdroidserver.common.__file__) + '/..')
if cmddir == moduledir:
# running from git