diff --git a/PYROSW.py b/PYROSW.py index fe646d9..e67bf71 100755 --- a/PYROSW.py +++ b/PYROSW.py @@ -49,11 +49,11 @@ WITH_DOCKER_IS_SET = False if os.getenv('WITH_DOCKER') is None else True # [ -d ../app/ ] && APP_FOLDER=true APP_FOLDER = os.path.exists('../app/') -VENV = os.path.exists('./venv/') +VENV = False args = sys.argv[1:] -if args[0] == "--docker": - VENV = False +if args[0] == "--venv": + VENV = True args.pop(0) args = ' '.join(args) # test if docker is installed -- libgit2 0.21.2