From df7473f7df257b762c71840a0dc72b8cf06bea7c Mon Sep 17 00:00:00 2001 From: Benedikt Morbach Date: Wed, 4 May 2016 15:11:20 +0200 Subject: [PATCH] Makefile: respect BINDIR in systemd service --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 121c76f..711565f 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,7 @@ install-systemd: @echo 'installing systemd service units...' install -Dm644 contrib/systemd/btrbk.service "$(DESTDIR)$(SYSTEMDDIR)/btrbk.service" install -Dm644 contrib/systemd/btrbk.timer "$(DESTDIR)$(SYSTEMDDIR)/btrbk.timer" + sed -i -e "s#/usr/sbin/btrbk#$(BINDIR)/btrbk#g" "$(DESTDIR)$(SYSTEMDDIR)/btrbk.service" install-share: @echo 'installing auxiliary scripts...'