- 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:
parent
96f598a83d
commit
f207ef1393
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41649
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ DOC_PREFIX_NAME?= head
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if (!defined(LANGCODE) || empty(LANGCODE))
|
.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
|
.endif
|
||||||
|
|
||||||
# normalize DOC_PREFIX
|
# normalize DOC_PREFIX
|
||||||
|
|
Loading…
Reference in a new issue