From 372894a0ff29c29e3ab4191dba942bc7584cb3c5 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 19 Jun 2019 11:02:25 +0200 Subject: lib/load-configuration: canonicalize base_dir, so we can search for it in ~/.ssh/authorized_keys --- lib/load-configuration | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/load-configuration b/lib/load-configuration index 6005b6c..8da872a 100755 --- a/lib/load-configuration +++ b/lib/load-configuration @@ -34,6 +34,10 @@ if [ -z "${base_dir}" ]; then base_dir=$(printf '%s/..' "$(dirname "$(readlink -f "$0")")") fi +base_dir=$( + readlink -e "${base_dir}" +) + work_dir="${base_dir}/work" # shellcheck source=../lib/common-functions -- cgit v1.2.3-70-g09d2