From 2168e6299dd4b01b4ea64b35d550464988ce5792 Mon Sep 17 00:00:00 2001 From: Martin Lablans Date: Tue, 31 May 2022 14:02:09 +0200 Subject: [PATCH] Variable renamed to GIT_PASSWORD --- lib/gitpassword.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/gitpassword.sh b/lib/gitpassword.sh index 3ec76d5..43795a4 100755 --- a/lib/gitpassword.sh +++ b/lib/gitpassword.sh @@ -29,9 +29,9 @@ date >> /tmp/gitpass PARAMS="$(tee -a /tmp/gitpass)" GITHOST=$(echo "$PARAMS" | grep "^host=" | sed 's/host=\(.*\)/\1/g') -fetchVarsFromVault CCP_GIT +fetchVarsFromVault GIT_PASSWORD -if [ -z "${CCP_GIT}" ]; then +if [ -z "${GIT_PASSWORD}" ]; then log ERROR "Git password not found." exit 1 fi @@ -40,7 +40,7 @@ tee -a /tmp/gitpass <> /tmp/gitpass