summaryrefslogtreecommitdiff
path: root/extra/rssh/destdir.patch
blob: 90fa03e6d9ed90bdd514953db2f172caf0e6c657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -aur old//Makefile.am new//Makefile.am
--- old//Makefile.am	2006-12-21 23:22:37.000000000 +0100
+++ new//Makefile.am	2010-11-25 18:15:29.253376150 +0100
@@ -16,7 +16,7 @@
 	$(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
 
 install-exec-hook:
-	chmod u+s $(libexecdir)/rssh_chroot_helper
+	chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper
 
 rpm:	dist
 	rpmbuild -ta --sign $(base).tar.gz
diff -aur old//Makefile.in new//Makefile.in
--- old//Makefile.in	2010-08-01 15:59:54.000000000 +0200
+++ new//Makefile.in	2010-11-25 18:15:29.253376150 +0100
@@ -830,7 +830,7 @@
 	$(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
 
 install-exec-hook:
-	chmod u+s $(libexecdir)/rssh_chroot_helper
+	chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper
 
 rpm:	dist
 	rpmbuild -ta --sign $(base).tar.gz