From 3ee05b61d7d372a03df895ddaadea274975163f8 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Thu, 14 Dec 2023 16:27:38 +0100 Subject: [PATCH] export some vars; abort on errors --- deploy_app.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/deploy_app.sh b/deploy_app.sh index c1a0a1e..20a9ca1 100755 --- a/deploy_app.sh +++ b/deploy_app.sh @@ -15,7 +15,8 @@ # 2022-11-24 v0.8 <axel.hahn@iml.unibe.ch> tar -xzf without dot as 2nd param # 2022-11-25 v0.9 <axel.hahn@iml.unibe.ch> support custom phase + file per project # 2023-02-14 v1.0 <axel.hahn@unibe.ch> set v1.0 (no changes) -# 2023-02-14 v1.1 <axel.hahn@unibe.ch> show OK message in profile log +# 2023-12-?? v1.1 <axel.hahn@unibe.ch> show OK message in profile log +# 2023-12-14 v1.2 <axel.hahn@unibe.ch> export some vars; abort on errors # ====================================================================== @@ -23,8 +24,10 @@ # CONFIG # ---------------------------------------------------------------------- cd $( dirname $0 ) -selfdir=$( /bin/pwd ) -_version=1.0 +_version=1.2 + +export selfdir; selfdir=$( /bin/pwd ) +export profiledir tmpdir=/var/tmp/imldeployment_packages logdir=/var/log/imldeployment-client -- GitLab