From 895d1946673165f8542dff6ed05a8816e7819598 Mon Sep 17 00:00:00 2001 From: LSmyrnaios Date: Thu, 30 Jan 2020 20:45:49 +0200 Subject: [PATCH] Update Federated-Deployment to be able to run from any working-directory. --- Federated-Deployment/Docker-Ansible/scripts/deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Federated-Deployment/Docker-Ansible/scripts/deploy.sh b/Federated-Deployment/Docker-Ansible/scripts/deploy.sh index b1a4a6f01..c44a50363 100755 --- a/Federated-Deployment/Docker-Ansible/scripts/deploy.sh +++ b/Federated-Deployment/Docker-Ansible/scripts/deploy.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +cd "${0%/*}" || (echo "Could not chdir to this script's dir!" && exit) # Change the working directory to the script's directory, when running from other location. + # Including functions only source ./updateFiles.sh include-only source ./stop.sh include-only