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 2010/01/26 14:12:40 UTC

svn commit: r903213 - /spamassassin/trunk/build/mkupdates/update-rules

Author: jm
Date: Tue Jan 26 13:12:39 2010
New Revision: 903213

URL: http://svn.apache.org/viewvc?rev=903213&view=rev
Log:
support new branch structure for 3.3 updates

Modified:
    spamassassin/trunk/build/mkupdates/update-rules

Modified: spamassassin/trunk/build/mkupdates/update-rules
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/mkupdates/update-rules?rev=903213&r1=903212&r2=903213&view=diff
==============================================================================
--- spamassassin/trunk/build/mkupdates/update-rules (original)
+++ spamassassin/trunk/build/mkupdates/update-rules Tue Jan 26 13:12:39 2010
@@ -28,7 +28,11 @@
 DIR=/tmp/upd-$$
 rm -rf $DIR || exit 1
 
-SOURCE=svn.apache.org/repos/asf/spamassassin/rules/branches/$VERS
+if [ "$VERS" = "3.1" -o "$VERS" = "3.2" ] ; then
+  SOURCE=svn.apache.org/repos/asf/spamassassin/branches/rules/$VERS
+else
+  SOURCE=svn.apache.org/repos/asf/spamassassin/branches/$VERS/rules
+fi
 
 tagstamp=`date "+%Y%m%d%H%M%S"`
 DEST=svn.apache.org/repos/asf/spamassassin/tags/sa-update_${VERS}_${tagstamp}