From 2bb724366c5245254fd38c931cca9260cd236ebd Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 2 Apr 2014 07:58:46 +0100 Subject: [PATCH] chmod 444 for read-only generated files instead of -w. That's because chmod -w on the file in a directory with g+s fails with: $ chmod -w jquery.json-2.4.js chmod: jquery.json-2.4.js: new permissions are r--rw-r--, not r--r--r-- and this impedes the Jenkins testing. --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 0707725..32a5983 100644 --- a/src/Makefile +++ b/src/Makefile @@ -30,7 +30,7 @@ uninstall: rm -f $(INSTALLED) ../tools/htdocs/%: % - rm -f $@ && cp -p $? $@ && chmod -w $@ + rm -f $@ && cp -p $? $@ && chmod 444 $@ all: mkws.min.js mkws-complete.min.js @@ -89,7 +89,7 @@ release: mkws.js mkws-complete.js mkws.min.js mkws-complete.min.js mkws.js: $(COMPONENTS) Makefile rm -f $@ cat $(COMPONENTS) > $@ - chmod -w $@ + chmod 444 $@ distclean: clean rm -f *.orig *.bak *.rej -- 1.7.10.4