aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2013-05-17 19:56:43 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2013-05-17 19:56:43 +0000
commitf207ef13934863412ad676642ceee6690d21870c (patch)
tree61c472401f6518baf8fc4794269cd63566f3c474
parent96f598a83daba367817e1ebfe1836d174acdd4da (diff)
downloaddoc-f207ef13934863412ad676642ceee6690d21870c.tar.gz
doc-f207ef13934863412ad676642ceee6690d21870c.zip
- LANGCODE used to resolve to "." when called from the top-level directory;
failing this resulted in bogus file removals so revert this behavior
Notes
Notes: svn path=/head/; revision=41649
-rw-r--r--share/mk/doc.common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/doc.common.mk b/share/mk/doc.common.mk
index a5c0723111..a104656bfa 100644
--- a/share/mk/doc.common.mk
+++ b/share/mk/doc.common.mk
@@ -20,7 +20,7 @@ DOC_PREFIX_NAME?= head
.endif
.if (!defined(LANGCODE) || empty(LANGCODE))
-LANGCODE!= echo ${.CURDIR} | grep -o '[a-z]*_[A-Z]*\.[-A-Za-z0-9]*' || true
+LANGCODE!= echo ${.CURDIR} | grep -o '[a-z]*_[A-Z]*\.[-A-Za-z0-9]*' || echo "."
.endif
# normalize DOC_PREFIX