From e2ba0edd3496736bb7607980e90ab2b8b6a90c8a Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Mon, 15 Apr 2024 03:07:36 +0000 Subject: [PATCH] Trying to fix Environment variable VSCODETUNNERNAME error. Updating to version 3.0.3 --- entrypoint.sh | 2 +- version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index fa4df6c..c06ab9e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,7 +9,7 @@ if ! grep -q "HOME_USER=" /etc/environment; then sudo bash -c "echo HOME_USER=$HOME_USER >> /etc/environment" fi -if [[ -n "${VSCODE_TUNNEL_NAME}" ]]; then +if [[ -v VSCODE_TUNNEL_NAME && -n "${VSCODE_TUNNEL_NAME}" ]]; then if ! grep -q "VSCODE_TUNNEL_NAME=" /etc/environment; then sudo bash -c "echo VSCODE_TUNNEL_NAME=$VSCODE_TUNNEL_NAME >> /etc/environment" fi diff --git a/version.txt b/version.txt index d9c62ed..282895a 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.0.2 \ No newline at end of file +3.0.3 \ No newline at end of file