You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2022/04/20 03:56:59 UTC

svn commit: r1900053 - /spamassassin/trunk/build/mkupdates/mkupdate-with-scores

Author: hege
Date: Wed Apr 20 03:56:59 2022
New Revision: 1900053

URL: http://svn.apache.org/viewvc?rev=1900053&view=rev
Log:
Fix make

Modified:
    spamassassin/trunk/build/mkupdates/mkupdate-with-scores

Modified: spamassassin/trunk/build/mkupdates/mkupdate-with-scores
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/mkupdates/mkupdate-with-scores?rev=1900053&r1=1900052&r2=1900053&view=diff
==============================================================================
--- spamassassin/trunk/build/mkupdates/mkupdate-with-scores (original)
+++ spamassassin/trunk/build/mkupdates/mkupdate-with-scores Wed Apr 20 03:56:59 2022
@@ -271,10 +271,9 @@ MAJOR_VERS=3
 for (( MINOR_VERS=4; 1; MINOR_VERS++ )); do
   for (( UPDATE_VERS=1; 1; UPDATE_VERS++ )); do
     REL=${MAJOR_VERS}_${MINOR_VERS}_${UPDATE_VERS}
-    if svn_path_exists $SVN_BASEURL/tags/spamassassin_release_${REL}; then
-      test_version ${REL} tags/spamassassin_release_${REL} &&
-        TESTED_VERSIONS="$TESTED_VERSIONS ${REL}"
-    fi
+    if ! svn_path_exists $SVN_BASEURL/tags/spamassassin_release_${REL}; then break; fi
+    test_version ${REL} tags/spamassassin_release_${REL} &&
+      TESTED_VERSIONS="$TESTED_VERSIONS ${REL}"
   done
   # we just assume that the next stable version is the branch's current version (HEAD)
   if svn_path_exists $SVN_BASEURL/branches/${MAJOR_VERS}.${MINOR_VERS}; then
@@ -288,10 +287,9 @@ MAJOR_VERS=4
 for (( MINOR_VERS=0; 1; MINOR_VERS++ )); do
   for (( UPDATE_VERS=0; 1; UPDATE_VERS++ )); do
     REL=${MAJOR_VERS}_${MINOR_VERS}_${UPDATE_VERS}
-    if svn_path_exists $SVN_BASEURL/tags/spamassassin_release_${REL}; then
-      test_version ${REL} tags/spamassassin_release_${REL} &&
-        TESTED_VERSIONS="$TESTED_VERSIONS ${REL}"
-    fi
+    if ! svn_path_exists $SVN_BASEURL/tags/spamassassin_release_${REL}; then; break; fi
+    test_version ${REL} tags/spamassassin_release_${REL} &&
+      TESTED_VERSIONS="$TESTED_VERSIONS ${REL}"
   done
   # we just assume that the next stable version is the branch's current version (HEAD)
   if svn_path_exists $SVN_BASEURL/branches/${MAJOR_VERS}.${MINOR_VERS}; then