diff --git a/entrypoint.sh b/entrypoint.sh index be1eb78..fa4df6c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,8 +9,10 @@ if ! grep -q "HOME_USER=" /etc/environment; then sudo bash -c "echo HOME_USER=$HOME_USER >> /etc/environment" fi -if [[ -n $VSCODE_TUNNEL_NAME ]] && ! grep -q "VSCODE_TUNNEL_NAME=" /etc/environment; then - sudo bash -c "echo VSCODE_TUNNEL_NAME=$VSCODE_TUNNEL_NAME >> /etc/environment" +if [[ -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 fi # List all environment variables diff --git a/version.txt b/version.txt index 13d683c..d9c62ed 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.0.1 \ No newline at end of file +3.0.2 \ No newline at end of file