392916 followup: make sure that the CVS tag is properly set to HEAD on trunk checkouts by date.

git-svn-id: svn://10.0.0.236/trunk@242666 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mark%moxienet.com 2008-01-09 02:14:52 +00:00
parent ef8db85d60
commit 6776ff521a

View File

@ -92,7 +92,7 @@ GREP_V_PATTERN = __dummy__
CVS_TAG_FILE = generated/cvs_tag
CVS_TAG := $(shell if [ -d $(srcdir)/CVS ] ; then \
if [ -f $(srcdir)/CVS/Tag ] ; then \
sed -e 's/^T//' $(srcdir)/CVS/Tag ; \
sed -e 's/^D.*/HEAD/' -e 's/^[NT]//' $(srcdir)/CVS/Tag ; \
else \
echo HEAD ; \
fi \