From e9aace91ac90aaec41a5e32ab5fae2dc99abaf1e Mon Sep 17 00:00:00 2001 From: kakious Date: Fri, 21 Jul 2023 09:13:42 -0700 Subject: [PATCH] Update boop-keys/setup-boop.sh --- boop-keys/setup-boop.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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