commit fe13b29b443244ad95a512a1dc5b58afb0556dcc
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Nov 20 11:50:24 2018 +0200

    make install: use same permissions as make dist does

 Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Makefile b/Makefile
index a345d66..8f00aa7 100644
--- a/Makefile
+++ b/Makefile
@@ -50,11 +50,11 @@ install: $(BIN_FILES)
        $(INSTALL) -d $(DESTDIR)/$(ENVDIR)
        $(INSTALL) -d $(DESTDIR)/$(SHRCDIR)
        $(INSTALL) $(BIN_FILES) $(DESTDIR)/$(SBINDIR)
-       cd etc; $(INSTALL) $(ETC_FILES) $(DESTDIR)/$(ETCDIR)
+       cd etc; $(INSTALL) -m644 $(ETC_FILES) $(DESTDIR)/$(ETCDIR)
        ln -sf /proc/self/mounts $(DESTDIR)/$(ETCDIR)/mtab
-       cd etc/profile.d; $(INSTALL) $(PROFILE_FILES) $(DESTDIR)/$(PROFILEDIR)
-       cd etc/env.d; $(INSTALL) $(ENV_FILES) $(DESTDIR)/$(ENVDIR)
-       cd etc/shrc.d; $(INSTALL) $(SHRC_FILES) $(DESTDIR)/$(SHRCDIR)
+       cd etc/profile.d; $(INSTALL) -m755 $(PROFILE_FILES) 
$(DESTDIR)/$(PROFILEDIR)
+       cd etc/env.d; $(INSTALL) -m644 $(ENV_FILES) $(DESTDIR)/$(ENVDIR)
+       cd etc/shrc.d; $(INSTALL) -m644 $(SHRC_FILES) $(DESTDIR)/$(SHRCDIR)
 
 dist: changelog clean
        $(INSTALL) -d setup-$(VERSION)/etc/profile.d
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/setup.git/commitdiff/c2270ab060eec5f143a9a289098dd728c05377ca

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to