From 25953854c9cfac0c3c0a68ed28c703c0e8b7a513 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Fri, 25 Oct 2024 01:24:50 +0200 Subject: [PATCH] build(Makefile): fix bash shell targets --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 88ada00ef..3aae36ad0 100644 --- a/Makefile +++ b/Makefile @@ -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 ##### ###########################