build(Makefile): fix bash shell targets

This commit is contained in:
Sarah Vaupel 2024-10-25 01:24:50 +02:00
parent 090f4410bb
commit 25953854c9

View File

@ -84,10 +84,9 @@ release:
.PHONY: %-shell
# HELP: launch shell (bash) inside a currently running container
%-shell: ENTRYPOINT?=/bin/bash
%-shell: --%-shell;
--%-shell:
$(CONTAINER_COMMAND) exec -it $(EXEC_OPTS) fradrive.$(CURR_DEV).$* $(ENTRYPOINT)
$(CONTAINER_COMMAND) exec -it $(EXEC_OPTS) fradrive.$(CURR_DEV).$* $(if $(ENTRYPOINT),$(ENTRYPOINT),/bin/bash)
##### GENERAL TARGETS #####
###########################