commit 9a2d700834aaa2bec01bcf3dba6ddafccaf6ca41
parent 18e1550c5c0819012e66a9a64005f59ee13d105a
Author: MS <ms@taler.net>
Date: Tue, 18 May 2021 09:38:48 +0200
Activate script.
Removing 'set -e' because it makes bash autocomplete
close the SSH connection.
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git 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}"