We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 24cb4fb + 7f3a5c9 commit fc58a54Copy full SHA for fc58a54
1 file changed
Makefile
@@ -48,7 +48,8 @@ install: check-fleet install-routers install-data-containers
48
install-data-containers: check-fleet
49
@$(foreach T, $(DATA_CONTAINER_TEMPLATES), \
50
UNIT=`basename $(T)` ; \
51
- if [[ `$(FLEETCTL) list-units | grep $$UNIT` ]]; then \
+ EXISTS=`$(FLEETCTL) list-units | grep $$UNIT` ; \
52
+ if [ "$$EXISTS" != "" ]; then \
53
echo $$UNIT already loaded. Skipping... ; \
54
else \
55
cp $(T).template . ; \
0 commit comments