Skip to content

Commit fc58a54

Browse files
committed
Merge pull request #1382 from deis/fix/gh-1380/remove-bashism
fix(Makefile): remove bashism in the main Makefile
2 parents 24cb4fb + 7f3a5c9 commit fc58a54

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ install: check-fleet install-routers install-data-containers
4848
install-data-containers: check-fleet
4949
@$(foreach T, $(DATA_CONTAINER_TEMPLATES), \
5050
UNIT=`basename $(T)` ; \
51-
if [[ `$(FLEETCTL) list-units | grep $$UNIT` ]]; then \
51+
EXISTS=`$(FLEETCTL) list-units | grep $$UNIT` ; \
52+
if [ "$$EXISTS" != "" ]; then \
5253
echo $$UNIT already loaded. Skipping... ; \
5354
else \
5455
cp $(T).template . ; \

0 commit comments

Comments
 (0)