diff --git a/boop-keys/setup-boop.sh b/boop-keys/setup-boop.sh index 597795d..8fd9dea 100644 --- a/boop-keys/setup-boop.sh +++ b/boop-keys/setup-boop.sh @@ -15,8 +15,8 @@ echo "[BOOTSTRAP] DB Configured, setting up .env file..." # read /home/coder/.coder-env as they contain the workspace name and username -WORKSPACE_ENV=$(cat /home/coder/.coder-env | grep WORKSPACE_NAME | cut -d '=' -f2) -USERNAME_ENV=$(cat /home/coder/.coder-env | grep USERNAME | cut -d '=' -f2) +WORKSPACE_ENV=$(cat /home/coder/.coder-env | grep WORKSPACE_ENV | cut -d '=' -f2) +USERNAME_ENV=$(cat /home/coder/.coder-env | grep USERNAME_ENV | cut -d '=' -f2) sed -i "s/DATABASE_HOST=/DATABASE_HOST=localhost/g" /home/coder/oauth-provider/.env sed -i "s/DATABASE_PORT=/DATABASE_PORT=3306/g" /home/coder/oauth-provider/.env