taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 28813c7d6c6f46a5295555d474892ddeff5734fe
parent 84f626df1f9bb24b56b1ffe03c12a5e08261c744
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 24 Feb 2020 17:28:21 +0100

do not expand PATH if it already was expanded

Diffstat:
Mbin/taler-deployment | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 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}