From c0297ab483f0f4fab6bd8eb15fe4feca30b99983 Mon Sep 17 00:00:00 2001 From: Sebastian Gerske Date: Tue, 18 Dec 2018 10:34:06 +0100 Subject: [PATCH] fix force pull --- start_ocean.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start_ocean.sh b/start_ocean.sh index f418d86..257c3cb 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -63,7 +63,7 @@ while :; do printf $COLOR_Y'Switched to latest components...\n\n'$COLOR_RESET ;; --force-pull) - export forcepull='true' + export forcepull="true" printf $COLOR_Y'Pulling latest components...\n\n'$COLOR_RESET ;; ################################################# @@ -153,7 +153,7 @@ while :; do ;; *) printf $COLOR_Y'Starting Ocean...\n\n'$COLOR_RESET - if [[ forcepull == 'true' ]] + if [[ $forcepull == "true" ]] then docker-compose --project-name=$PROJECT_NAME $COMPOSE_FILES -f ${NODE_COMPOSE_FILE} pull fi