mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
find certbot in the correct directory
This commit is contained in:
parent
21dd8e7ac2
commit
e87151e087
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ def certbot_version(build_script_dir):
|
|||
"""Return the version number stamped in certbot/__init__.py."""
|
||||
return re.search('''^__version__ = ['"](.+)['"].*''',
|
||||
file_contents(join(dirname(build_script_dir),
|
||||
'..',
|
||||
'..',
|
||||
'certbot',
|
||||
'certbot',
|
||||
'__init__.py')),
|
||||
|
|
|
|||
Loading…
Reference in a new issue