Revision: 55748
          http://sourceforge.net/p/brlcad/code/55748
Author:   brlcad
Date:     2013-06-13 16:25:04 +0000 (Thu, 13 Jun 2013)
Log Message:
-----------
we don't want the last date, we want the second to last

Modified Paths:
--------------
    brlcad/trunk/HACKING

Modified: brlcad/trunk/HACKING
===================================================================
--- brlcad/trunk/HACKING        2013-06-13 16:09:57 UTC (rev 55747)
+++ brlcad/trunk/HACKING        2013-06-13 16:25:04 UTC (rev 55748)
@@ -1164,7 +1164,7 @@
 the updated ChangeLog.  Use the YYYY-MM-DD of the previous release.
 Get the date from the NEWS file.
 
-    LAST=`grep -E "[0-9]{4}-[0-9]{2}-[0-9]{2}" NEWS | head -n 1 | awk '{print 
$2}'`
+    LAST=`grep -E "\--- [0-9]{4}-[0-9]{2}-[0-9]{2}" NEWS | head -n 2 | tail -n 
1 | awk '{print $2}'`
     echo "LAST=$LAST"
     svn2cl --break-before-msg --include-rev --stdout -r HEAD:{$LAST} > 
ChangeLog
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to