From fd66f38d19344004e242d0f9546b21c22faecb47 Mon Sep 17 00:00:00 2001 From: chin Date: Fri, 24 Aug 2007 11:06:46 -0700 Subject: 6595607 *ksh93* build of libraries needs to set file permission mode for message files --- usr/src/lib/Makefile.astmsg | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'usr/src') diff --git a/usr/src/lib/Makefile.astmsg b/usr/src/lib/Makefile.astmsg index de1e091fd5..68eb5bf16f 100644 --- a/usr/src/lib/Makefile.astmsg +++ b/usr/src/lib/Makefile.astmsg @@ -32,7 +32,7 @@ # Should we build AST l10n catalogs ? # This can be overridden at build time via: -# $ export ON_BUILD_KSH93_AS_BINKSH=1 +# $ export ON_BUILD_AST_L10N_CATALOGS=1 ON_BUILD_AST_L10N_CATALOGS=0 DO_BUILD_AST_CATALOGS_1= $(ON_BUILD_AST_L10N_CATALOGS:0=$(POUND_SIGN)) @@ -78,7 +78,8 @@ $(MSGLIBNAME).msg: $(ASTMSGS) $(ASTMSGCATALOG): $(MSGLIBNAME).msg @$(RM) "$(ASTMSGCATALOG)" ; \ - sed 's/^$$translation msgcc .*//' <"$(MSGLIBNAME).msg" | gencat "$@" - + sed 's/^$$translation msgcc .*//' <"$(MSGLIBNAME).msg" | gencat "$@" - ; \ + $(CHMOD) 0644 $(ASTMSGCATALOG) # Main catalog target $(DO_BUILD_AST_CATALOGS)_msg: $(ASTMSGCATALOG) @@ -87,7 +88,8 @@ $(DO_BUILD_AST_CATALOGS)_msg: $(ASTMSGCATALOG) # package database each time we toggle the switch) $(DONT_BUILD_AST_CATALOGS)_msg: $(DONT_BUILD_AST_CATALOGS) $(RM) $(ASTMSGCATALOG) ; \ - $(TOUCH) $(ASTMSGCATALOG) + $(TOUCH) $(ASTMSGCATALOG) ; \ + $(CHMOD) 0644 $(ASTMSGCATALOG) # Add message catalogs to the list of files to "clobber" CLOBBERFILES += \ -- cgit v1.2.3