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