[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: do not expand PATH if it alrea
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: do not expand PATH if it already was expanded |
Date: |
Mon, 24 Feb 2020 17:28:23 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 28813c7 do not expand PATH if it already was expanded
28813c7 is described below
commit 28813c7d6c6f46a5295555d474892ddeff5734fe
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Feb 24 17:28:21 2020 +0100
do not expand PATH if it already was expanded
---
bin/taler-deployment | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bin/taler-deployment b/bin/taler-deployment
index 35876f7..2090656 100755
--- a/bin/taler-deployment
+++ b/bin/taler-deployment
@@ -32,7 +32,11 @@ activate_template = """\
# Generated by taler-deployment-bootstrap
-export PATH="$HOME/deployment/bin:$HOME/local/bin:{curr_path}"
+echo $PATH | tr ":" '\n' | grep '$HOME/deployment/bin' > /dev/null
+if test 0 != $?
+then
+ export PATH="$HOME/deployment/bin:$HOME/local/bin:{curr_path}"
+fi
export PYTHONUSERBASE=$HOME/local
export TALER_BOOTSTRAP_TIMESTAMP={timestamp}
export TALER_CONFIG_CURRENCY={currency}
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: do not expand PATH if it already was expanded,
gnunet <=