diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-11-26 00:32:29 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-11-26 00:32:29 +0800 |
commit | 878900b32e92c5949a7feb95fe85cdf846168748 (patch) | |
tree | 7e483ead11432d2639476d0bdb95a23050d98574 /Mk | |
parent | 5b932222b29e6b61dc017beaf5b27f411d515279 (diff) | |
download | marcuscom-ports-878900b32e92c5949a7feb95fe85cdf846168748.tar.gz marcuscom-ports-878900b32e92c5949a7feb95fe85cdf846168748.tar.zst marcuscom-ports-878900b32e92c5949a7feb95fe85cdf846168748.zip |
Better detect locales
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7950 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index bafb30677..801367388 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -5441,7 +5441,7 @@ generate-plist: .if defined(USE_GETTEXT) && ${USE_GETTEXT} == "find-dirs" . for a in 1-4 1-3 for i in `${GREP} "^share/locale/.*/LC_MESSAGES/.*\.mo" ${TMPPLIST} | ${CUT} -d / -f ${a} | ${SORT} -r`; do \ - if [ "$${i}" != "`${MKDIR} ${WRKDIR}/emptydir && ${MTREE_CMD} -f ${MTREE_FILE} -L -p ${WRKDIR}/emptydir|${GREP} "share/locale/.*/LC_MESSAGES" | ${SED} -e 's|./||; s| missing||' | ${GREP} -o "/$${i}/"`" ]; then \ + if [ "/$${i}/" != "`${MKDIR} ${WRKDIR}/emptydir && ${MTREE_CMD} -f ${MTREE_FILE} -L -p ${WRKDIR}/emptydir|${GREP} "share/locale/.*/LC_MESSAGES" | ${SED} -e 's|./||; s| missing||' | ${GREP} -o "/$${i}/"`" ]; then \ ${ECHO_CMD} "@unexec rmdir %D/$${i} 2>/dev/null || true" >> ${TMPPLIST} ; \ fi \ done |