Skip to content
Snippets Groups Projects
Commit 82ab7f8e authored by Lukas Werner's avatar Lukas Werner
Browse files

Fixed config.sh

parent c0996671
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,8 @@ shopt -s inherit_errexit ...@@ -5,6 +5,8 @@ shopt -s inherit_errexit
: "${CUSTOM_ENV_AUTH_USER:?"AUTH_USER CI/CD variable has not been set."}" : "${CUSTOM_ENV_AUTH_USER:?"AUTH_USER CI/CD variable has not been set."}"
: "${CUSTOM_ENV_AUTH_KEY:?"AUTH_KEY secret CI/CD variable has not been set."}" : "${CUSTOM_ENV_AUTH_KEY:?"AUTH_KEY secret CI/CD variable has not been set."}"
AUTH_USER=$CUSTOM_ENV_AUTH_USER
AUTH_USER_WORK=$(runuser "$AUTH_USER" --login --command "echo \$WORK") AUTH_USER_WORK=$(runuser "$AUTH_USER" --login --command "echo \$WORK")
: "${AUTH_USER_WORK:?"Could not determine $AUTH_USER's \$WORK directory."}" : "${AUTH_USER_WORK:?"Could not determine $AUTH_USER's \$WORK directory."}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment