Blob Blame History Raw
From 6686822567fba8dd25ed0bd2e235c30c60eeccf2 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek@redhat.com>
Date: Tue, 11 Nov 2014 15:59:22 +0100
Subject: [PATCH 91/92] BUILD: Touch files in DESTDIR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Related:
https://fedorahosted.org/sssd/ticket/2370

Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
---
 Makefile.am | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index d58fcb9501c44ccf0d5814e1f2070cd82fa8be61..156ef3c4eab1510126d2bfb47c06163885b8acfe 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2884,13 +2884,13 @@ else
 endif
 
 if SSSD_USER
-	-chgrp $(SSSD_USER) $(sssdlibexecdir)/ldap_child
-	chmod 4750 $(sssdlibexecdir)/ldap_child
-	-chgrp $(SSSD_USER) $(sssdlibexecdir)/krb5_child
-	chmod 4750 $(sssdlibexecdir)/krb5_child
+	-chgrp $(SSSD_USER) $(DESTDIR)$(sssdlibexecdir)/ldap_child
+	chmod 4750 $(DESTDIR)$(sssdlibexecdir)/ldap_child
+	-chgrp $(SSSD_USER) $(DESTDIR)$(sssdlibexecdir)/krb5_child
+	chmod 4750 $(DESTDIR)$(sssdlibexecdir)/krb5_child
 if BUILD_SEMANAGE
-	-chgrp $(SSSD_USER) $(sssdlibexecdir)/selinux_child
-	chmod 4750 $(sssdlibexecdir)/selinux_child
+	-chgrp $(SSSD_USER) $(DESTDIR)$(sssdlibexecdir)/selinux_child
+	chmod 4750 $(DESTDIR)$(sssdlibexecdir)/selinux_child
 endif
 endif
 
-- 
1.9.3