mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
repair fdroid --version
This commit is contained in:
parent
f21481ca81
commit
69fc38c668
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue