diff --git a/Makefile b/Makefile index db99aa0..cae61c9 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,13 @@ USERID ?= $$(id -u) build: ## Build all docker images cd build/ && make build -config.json: upgrade-to-tutor +config.json: @$(MAKE) -s -C build/ build-configurator 1> /dev/null @docker run --rm -it \ --volume="$(PWD):/openedx/config/" \ -e USERID=$(USERID) -e SILENT=$(SILENT) \ - regis/openedx-configurator:hawthorn + regis/openedx-configurator:hawthorn \ + configurator interactive substitute: config.json @docker run --rm -it \ diff --git a/build/configurator/bin/configurator b/build/configurator/bin/configurator index bc7fe04..5f210e8 100755 --- a/build/configurator/bin/configurator +++ b/build/configurator/bin/configurator @@ -103,7 +103,6 @@ def main(): parser_substitute.set_defaults(func=substitute) args = parser.parse_args() - args.func(args) def load_config(path):