From b411d98cb9fab103fa29366cb2054199f4ef0d41 Mon Sep 17 00:00:00 2001 From: paltherr Date: Wed, 21 Jan 2004 18:39:35 +0000 Subject: - Added read-only flag to generate .scala_wrapper --- Makefile | 2 +- Makefile.distrib | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3fb1448a9c..530b915020 100644 --- a/Makefile +++ b/Makefile @@ -424,7 +424,7 @@ $(SCRIPTS_WRAPPER) : $(SCRIPTS_WRAPPER).tmpl $(RM) $@; \ exit 1; \ fi; - $(CHMOD) 755 $@ + $(CHMOD) 555 $@ $(SCRIPTS_WRAPPER_LINKS): $(SCRIPTS_WRAPPER) @if [ ! -h $@ ]; then \ diff --git a/Makefile.distrib b/Makefile.distrib index e7039f94ba..ceec8e3dd6 100644 --- a/Makefile.distrib +++ b/Makefile.distrib @@ -81,6 +81,7 @@ install : $(TOOLS_JAR_ARCHIVE) MACRO_MSIL_CLASSES=$(INSTALL_MSIL_JARFILE) \ MACRO_JAVA_ARGS= \ scripts + $(CHMOD) u+w $(INSTALL_BINDIR)/$(notdir $(SCRIPTS_WRAPPER)) $(RM) $(INSTALL_BINDIR)/$(notdir $(SCRIPTS_WRAPPER)).tmpl $(INSTALL) -m 755 -d $(INSTALL_LIBDIR) $(INSTALL) -m 644 -p $(LIBRARY_JAR_ARCHIVE) $(INSTALL_RUNTIME_JARFILE) -- cgit v1.2.3