summaryrefslogtreecommitdiffstats
path: root/share/msgdef
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2004-09-02 22:09:33 +0000
committerache <ache@FreeBSD.org>2004-09-02 22:09:33 +0000
commitf98c7bd8b6c3251c280ac41bda8a332ce4028aca (patch)
treeeb9c318b1397edc23b57dd30522befae87f15878 /share/msgdef
parent621b91453c0ea463a7c3e495014fb8afd8b91114 (diff)
downloadFreeBSD-src-f98c7bd8b6c3251c280ac41bda8a332ce4028aca.zip
FreeBSD-src-f98c7bd8b6c3251c280ac41bda8a332ce4028aca.tar.gz
Rewrite this hack
-rm -rf ${LOCALEDIR}/*/LC_MESSAGES and move it inside loop. It can damage user-made ${LOCALEDIR}/* locales otherwise.
Diffstat (limited to 'share/msgdef')
-rw-r--r--share/msgdef/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/msgdef/Makefile b/share/msgdef/Makefile
index 65aacc5..e10b271 100644
--- a/share/msgdef/Makefile
+++ b/share/msgdef/Makefile
@@ -99,9 +99,8 @@ PT_LINKS= pt_BR
all: ${LOCALES:S/$/.out/g}
afterinstall:
-# HACK: remove LC_MESSAGES directories before installing LC_MESSAGES file
- -rm -rf ${LOCALEDIR}/*/LC_MESSAGES
.for lang in ${LOCALES}
+ -rm -rf ${LOCALEDIR}/${lang}/LC_MESSAGES
${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
${LOCALEDIR}/${lang}/LC_MESSAGES
.endfor
OpenPOWER on IntegriCloud