mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-26 02:18:21 -04:00
Move enforce_wrapper() into appropiate CMDs. This speeds up --help as a side effect!
This commit is contained in:
parent
18c689f897
commit
f3794f939e
11 changed files with 34 additions and 25 deletions
|
@ -103,7 +103,7 @@ def wrap_docker():
|
|||
|
||||
|
||||
def enforce_wrap(no_wrapper=False):
|
||||
if os.getenv('KUPFERBOOTSTRAP_DOCKER') != '1' and not no_wrapper:
|
||||
if os.getenv('KUPFERBOOTSTRAP_DOCKER') != '1' and not config.runtime['no_wrap'] and not no_wrapper:
|
||||
wrap_docker()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue