summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorchin <none@none>2007-08-24 11:06:46 -0700
committerchin <none@none>2007-08-24 11:06:46 -0700
commitfd66f38d19344004e242d0f9546b21c22faecb47 (patch)
tree24ffda3d81e3f662c535d43f7dc2c7608c2845ae /usr/src
parentf147e52e752bdf56f2e2feb724d07a82af80cfad (diff)
downloadillumos-joyent-fd66f38d19344004e242d0f9546b21c22faecb47.tar.gz
6595607 *ksh93* build of libraries needs to set file permission mode for message files
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/Makefile.astmsg8
1 files changed, 5 insertions, 3 deletions
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 += \