From 935060987b7b876a2762c36ba2adba7420be123c Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 24 Feb 2021 20:20:11 +0100 Subject: [PATCH] restore_lsexample: fix source directory path auto-detection --- lsexample/restore_lsexample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsexample/restore_lsexample b/lsexample/restore_lsexample index a4806a41..56f51057 100755 --- a/lsexample/restore_lsexample +++ b/lsexample/restore_lsexample @@ -8,7 +8,7 @@ # # Configuration -SRC_DIR="$( realpath "$( dirname $0 )/../" )" +SRC_DIR="$( realpath "$( dirname "$( realpath "$0" )" )/../" )" SLAPD_CONF_DIR=/etc/ldap/slapd.d SLAPD_DB_DIR=/var/lib/ldap SLAPD_USER=openldap