setup: Makefile - set sane permissions in make dist

qboosh qboosh at pld-linux.org
Sun Nov 25 17:32:54 CET 2007


Author: qboosh                       Date: Sun Nov 25 16:32:54 2007 GMT
Module: setup                         Tag: HEAD
---- Log message:
- set sane permissions in make dist

---- Files affected:
setup:
   Makefile (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: setup/Makefile
diff -u setup/Makefile:1.15 setup/Makefile:1.16
--- setup/Makefile:1.15	Wed Nov 21 21:32:18 2007
+++ setup/Makefile	Sun Nov 25 17:32:49 2007
@@ -56,13 +56,13 @@
 	$(INSTALL) -d setup-$(VERSION)/etc/shrc.d
 	$(INSTALL) $(DOCS) $(SOURCES) Makefile setup-$(VERSION)
 	for file in $(ETC_FILES); do \
-		$(INSTALL) etc/$$file setup-$(VERSION)/etc; \
+		$(INSTALL) -m644 etc/$$file setup-$(VERSION)/etc; \
 	done
 	for file in $(PROFILE_FILES); do \
-		$(INSTALL) etc/profile.d/$$file setup-$(VERSION)/etc/profile.d; \
+		$(INSTALL) -m755 etc/profile.d/$$file setup-$(VERSION)/etc/profile.d; \
 	done
 	for file in $(ENV_FILES); do \
-		$(INSTALL) etc/env.d/$$file setup-$(VERSION)/etc/env.d; \
+		$(INSTALL) -m644 etc/env.d/$$file setup-$(VERSION)/etc/env.d; \
 	done
 	tar -cvjf setup-$(VERSION).tar.bz2 setup-$(VERSION)
 	rm -rf setup-$(VERSION)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/setup/Makefile?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list