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