- LANGCODE used to resolve to "." when called from the top-level directory;

failing this resulted in bogus file removals so revert this behavior
This commit is contained in:
Gabor Kovesdan 2013-05-17 19:56:43 +00:00
parent 96f598a83d
commit f207ef1393
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41649

View file

@ -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