From 50c4833a54b515be12016cf6e8239dcc71274c37 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 21 Aug 2021 00:15:22 +0300
Subject: [PATCH] Fix .bashrc.private template.

---
 .bashrc.private.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.bashrc.private.j2 b/.bashrc.private.j2
index dab2e8b..eaa0550 100644
--- a/.bashrc.private.j2
+++ b/.bashrc.private.j2
@@ -3,5 +3,5 @@ export GITLAB_TOKEN='{{ run(["ph", "show", "--field", "Password", "shore.co.il/G
 export GITLAB_PRIVATE_TOKEN="$GITLAB_TOKEN"
 export GITLAB_REGISTRATION_TOKEN='{{ run(["ph", "show", "--field", "Password", "shore.co.il/GitLab runner registration token"])["stdout"] }}'
 export GITHUB_TOKEN='{{ run(["ph", "show", "--field", "CLI token", "Web Sites/GitHub"])["stdout"] }}'
-{% set nc_password = run(["ph", "show", "--field", "Password", "shore.co.il/LDAP"])["stdout"] %}
-export RCLONE_CONFIG_NEXTCLOUD_PASS='{{ run(["rclone", "obscure", nc_password]) }}'
+{% set nc_password = run(["ph", "show", "--field", "Password", "shore.co.il/LDAP"])["stdout"] -%}
+export RCLONE_CONFIG_NEXTCLOUD_PASS='{{ run(["rclone", "obscure", nc_password])["stdout"]|trim }}'
-- 
GitLab