hooks/post-merge: Fix incorrect ROOTDIR directive

This commit is contained in:
Alex Palaistras 2021-09-07 22:21:32 +01:00
parent 231a6f529b
commit 253deb7176

View File

@ -9,7 +9,7 @@
set -euo pipefail
# Base configuration variables.
ROOTDIR="$(dirname "$(git rev-parse --git-dir)")"
ROOTDIR="$(git -C "$(dirname "$0")" rev-parse --show-toplevel)"
COREOS_CONFIG_DIR="/etc/coreos-home-server"
SYSTEMD_CONFIG_DIR="/etc/systemd/system"