You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2009/08/09 22:44:53 UTC

svn commit: r802591 - /spamassassin/trunk/build/update_devel_rules

Author: jm
Date: Sun Aug  9 20:44:53 2009
New Revision: 802591

URL: http://svn.apache.org/viewvc?rev=802591&view=rev
Log:
ensure the rules tarball contains the SVN revision, so that sa-update --install will work

Modified:
    spamassassin/trunk/build/update_devel_rules

Modified: spamassassin/trunk/build/update_devel_rules
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/update_devel_rules?rev=802591&r1=802590&r2=802591&view=diff
==============================================================================
--- spamassassin/trunk/build/update_devel_rules (original)
+++ spamassassin/trunk/build/update_devel_rules Sun Aug  9 20:44:53 2009
@@ -18,8 +18,8 @@
 make version.env || exit $?
 . ./version.env
 
-# "3.1.0-pre2-r202405" should appear as "3.1.0-pre2" after this!
-VERSION=`echo $FULL_VERSION | perl -pe 's/-r\d+$//'`
+# "3.1.0-pre2-r202405" should appear as "3.1.0-pre2.r202405" after this
+VERSION=`echo $FULL_VERSION | perl -pe 's/-(r\d+)$/\.$1/'`
 DISTVNAME=$DISTNAME-$VERSION
 
 
@@ -34,8 +34,6 @@
 # and ensure the ruleset lints!
 ./spamassassin --lint                    || exit $?
 
-##make install                             || exit $?
-
 rulesdir=rules
 
 (