From 7fdd4acdf6daf95c5cc74e968f4710513c8ddaea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Fri, 23 Mar 2018 18:33:52 +0100
Subject: [PATCH] data: fix out of tree build
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

| sed: can't read udisks2.service.in: No such file or directory

Upstream-Status: Submitted [1]

[1] https://github.com/storaged-project/udisks/pull/510

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
 data/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index ddf9e3d6..b38928c8 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -22,7 +22,7 @@ systemdservicedir       = $(systemdsystemunitdir)
 systemdservice_DATA     = $(systemdservice_in_files:.service.in=.service)
 
 $(systemdservice_DATA): udisks2.service.in Makefile
-	@sed -e "s|\@udisksdprivdir\@|$(libexecdir)/udisks2|" udisks2.service.in > udisks2.service
+	@sed -e "s|\@udisksdprivdir\@|$(libexecdir)/udisks2|" $(srcdir)/udisks2.service.in > udisks2.service
 endif
 
 udevrulesdir = $(udevdir)/rules.d
-- 
2.14.3

