summaryrefslogtreecommitdiff
path: root/package/procps/patches/patch-ps_module_mk
blob: 7d6798e03df8c358fb9902f2ee63f1ba9b40060e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$Id$
--- procps-3.2.7.orig/ps/module.mk	Sun Oct 30 03:19:24 2005
+++ procps-3.2.7/ps/module.mk	Tue May 22 14:32:45 2007
@@ -33,8 +33,10 @@ ps/stacktrace.o: ps/stacktrace.c
 
 
 $(bin)ps: ps/ps
-	$(install) --mode a=rx $< $@
+	mkdir -p $(dir $@)
+	install -c -m 555 $< $@
 
 $(man1)ps.1 : ps/ps.1
-	$(install) --mode a=r $< $@
+	mkdir -p $(dir $@)
+	install -c -m 444 $< $@
 	-rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz