From 2c50d357a9e07ce9a18eabcdd33437819a20e092 Mon Sep 17 00:00:00 2001 From: Martin Lablans Date: Tue, 31 May 2022 14:03:07 +0200 Subject: [PATCH] Disable debug output. --- lib/gitpassword.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/gitpassword.sh b/lib/gitpassword.sh index 43795a4..25eb9ce 100755 --- a/lib/gitpassword.sh +++ b/lib/gitpassword.sh @@ -24,9 +24,7 @@ source lib/functions.sh assertVarsNotEmpty SITE_ID || exit 1 -date >> /tmp/gitpass - -PARAMS="$(tee -a /tmp/gitpass)" +PARAMS="$(cat)" GITHOST=$(echo "$PARAMS" | grep "^host=" | sed 's/host=\(.*\)/\1/g') fetchVarsFromVault GIT_PASSWORD @@ -36,11 +34,9 @@ if [ -z "${GIT_PASSWORD}" ]; then exit 1 fi -tee -a /tmp/gitpass <> /tmp/gitpass