pass argv

This commit is contained in:
Radovan Bast 2016-05-18 22:12:22 +02:00
parent 7def4fa318
commit 3565e2d885

View File

@ -300,7 +300,7 @@ def fetch_modules(config, relative_path):
return modules return modules
def process_yaml(): def process_yaml(argv):
from autocmake.parse_yaml import parse_yaml from autocmake.parse_yaml import parse_yaml
project_root = argv[1] project_root = argv[1]
@ -408,7 +408,7 @@ def main(argv):
) )
sys.exit(0) sys.exit(0)
process_yaml() process_yaml(argv)
def make_executable(path): def make_executable(path):