svn commit: r41649 - head/share/mk

Gabor Kovesdan gabor at FreeBSD.org
Fri May 17 19:56:44 UTC 2013


Author: gabor
Date: Fri May 17 19:56:43 2013
New Revision: 41649
URL: http://svnweb.freebsd.org/changeset/doc/41649

Log:
  - LANGCODE used to resolve to "." when called from the top-level directory;
    failing this resulted in bogus file removals so revert this behavior

Modified:
  head/share/mk/doc.common.mk

Modified: head/share/mk/doc.common.mk
==============================================================================
--- head/share/mk/doc.common.mk	Fri May 17 19:38:58 2013	(r41648)
+++ head/share/mk/doc.common.mk	Fri May 17 19:56:43 2013	(r41649)
@@ -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


More information about the svn-doc-head mailing list