Skip to content

Commit

Permalink
update spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
dmyar21 committed Dec 15, 2022
1 parent c0351bc commit a2c121b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kubemarine.spec
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ a = Analysis(['./kubemarine/__main__.py'],
('./kubemarine/plugins/*', './kubemarine/plugins'),
('./kubemarine/plugins/yaml/*', './kubemarine/plugins/yaml'),
('./kubemarine/templates/plugins/*', './kubemarine/templates/plugins'),
('./kubemarine/version', './kubemarine/')
('./kubemarine/version', './kubemarine/version')
],
runtime_hooks=[],
excludes=[],
Expand Down
2 changes: 1 addition & 1 deletion kubemarine/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def main():
if arguments[0] == 'selftest':
return selftest()
elif arguments[0] == 'version':
with open('/kubemarine/version', 'r') as f:
with open('./kubemarine/version', 'r') as f:
print('Kubemarine %s' % f.read())
return

Expand Down

0 comments on commit a2c121b

Please sign in to comment.