diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-11-26 05:59:20 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-11-26 05:59:20 +0800 |
commit | 0e07efa86324b98a3f975da63a96a66aaaf7f371 (patch) | |
tree | 79f3a4a7d7eee31266285c701179b8364a73c57c /Mk | |
parent | 8e8506bb49f45f0f1962cbc3a44f6b38d055f3f4 (diff) | |
download | marcuscom-ports-0e07efa86324b98a3f975da63a96a66aaaf7f371.tar.gz marcuscom-ports-0e07efa86324b98a3f975da63a96a66aaaf7f371.tar.zst marcuscom-ports-0e07efa86324b98a3f975da63a96a66aaaf7f371.zip |
- Don't remove locale dirs with @ in the name if in mtree (ie: sr@Latn)
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7953 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 31499c221..4fb187574 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -5443,7 +5443,7 @@ generate-plist: | ${SED} -e 's|./||; s| missing||' >> ${WRKDIR}/.locale.mtree . for a in 1-4 1-3 for i in `${GREP} "^share/locale/.*/LC_MESSAGES/.*\.mo" ${TMPPLIST} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} | ${CUT} -d / -f ${a} | ${SORT} -r`; do \ - if [ "/$${i}/" != "`${GREP} -o "/$${i}/" ${WRKDIR}/.locale.mtree`" ]; then \ + if [ "$${i}//" != "`${GREP} -o "$${i}//" ${WRKDIR}/.locale.mtree`" ]; then \ ${ECHO_CMD} "@unexec rmdir %D/$${i} 2>/dev/null || true" >> ${TMPPLIST} ; \ fi \ done |