]> git.cameronkatri.com Git - cgit.git/commitdiff
Use mode 0644 for non-executable files
authorKarl Chen <quarl@cs.berkeley.edu>
Wed, 5 Nov 2008 10:45:18 +0000 (02:45 -0800)
committerLars Hjemli <hjemli@gmail.com>
Thu, 6 Nov 2008 19:46:44 +0000 (20:46 +0100)
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Makefile

index f79688c3dd3b80914235c22865b8fa49419d5c4a..21076103395d07bcbe9f0419b8b7a190238d2cee 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -114,8 +114,8 @@ test: all
 install: all
        mkdir -p $(DESTDIR)$(CGIT_SCRIPT_PATH)
        install cgit $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)
-       install cgit.css $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.css
-       install cgit.png $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.png
+       install -m 0644 cgit.css $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.css
+       install -m 0644 cgit.png $(DESTDIR)$(CGIT_SCRIPT_PATH)/cgit.png
 
 uninstall:
        rm -f $(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)