From d53d023436900a0f63fb4a806cde1efb3b5d2c74 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin <quentinduchemin@tuta.io> Date: Tue, 9 Jun 2020 22:40:32 +0200 Subject: [PATCH] [PicaPlume] Protect variables in condition (entrypoint) --- pica-plume/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pica-plume/entrypoint.sh b/pica-plume/entrypoint.sh index 45019547..a5e8ab86 100755 --- a/pica-plume/entrypoint.sh +++ b/pica-plume/entrypoint.sh @@ -45,7 +45,7 @@ if [ ! -f ${FIRSTLAUNCH_PATH} ]; then fi # Check if we updated since last launch -if [ ${PLUME_VERSION} != $(cat ${FIRSTLAUNCH_PATH}) ]; then +if [ "${PLUME_VERSION}" != $(cat ${FIRSTLAUNCH_PATH}) ]; then # If so, we need to run migrations echo "Instance updated since last launch, running migrations..." plm migration run -- GitLab