summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-05-18 09:38:48 +0200
committerMS <ms@taler.net>2021-05-18 09:38:48 +0200
commit9a2d700834aaa2bec01bcf3dba6ddafccaf6ca41 (patch)
treedde85892ac57e12304302a9f436b7760da31d0fa
parent18e1550c5c0819012e66a9a64005f59ee13d105a (diff)
downloaddeployment-9a2d700834aaa2bec01bcf3dba6ddafccaf6ca41.tar.gz
deployment-9a2d700834aaa2bec01bcf3dba6ddafccaf6ca41.tar.bz2
deployment-9a2d700834aaa2bec01bcf3dba6ddafccaf6ca41.zip
Activate script.
Removing 'set -e' because it makes bash autocomplete close the SSH connection.
-rwxr-xr-xbin/taler-deployment6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/taler-deployment b/bin/taler-deployment
index 96ff2e5..1e64e79 100755
--- a/bin/taler-deployment
+++ b/bin/taler-deployment
@@ -33,10 +33,12 @@ from string import ascii_letters, ascii_uppercase
activate_template = """\
#!/bin/bash
-set -eu
-
# Generated by taler-deployment-bootstrap
+# This check should fail everything, in case there are problems
+# in reading the auth token from the filesystem.
+set -u
+
if ! echo $PATH | tr ":" '\\n' | grep "$HOME/deployment/bin" > /dev/null
then
export PATH="{curr_path}"