From 49c667a2faae21eea32acd0ac3184a2800174784 Mon Sep 17 00:00:00 2001 From: Enric Tejedor Saavedra Date: Thu, 29 Jun 2023 13:12:34 +0200 Subject: [PATCH] Prevent unary operator expected error when SWAN_DEV is not defined --- scripts/private/eos_token.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/private/eos_token.sh b/scripts/private/eos_token.sh index e0d3ae3..a08826b 100644 --- a/scripts/private/eos_token.sh +++ b/scripts/private/eos_token.sh @@ -10,7 +10,7 @@ if [[ ! -f "$EOS_KEYTAB" ]]; then exit 1; fi -if [ $SWAN_DEV = "true" ]; then +if [ "$SWAN_DEV" = "true" ]; then # For dev purposes, one can provide already generated token echo $(cat /srv/jupyterhub/private/eos.cred | base64 -w 0) exit 0