mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 05:30:45 +00:00
hooks/post-merge: Fix incorrect ROOTDIR directive
This commit is contained in:
parent
231a6f529b
commit
253deb7176
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user