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 2020/07/26 14:08:28 UTC
svn commit: r1880326 -
/spamassassin/trunk/build/mkupdates/mkupdate-with-scores
Author: hege
Date: Sun Jul 26 14:08:27 2020
New Revision: 1880326
URL: http://svn.apache.org/viewvc?rev=1880326&view=rev
Log:
Fix spamc/configure.pl for old test_version
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=1880326&r1=1880325&r2=1880326&view=diff
==============================================================================
--- spamassassin/trunk/build/mkupdates/mkupdate-with-scores (original)
+++ spamassassin/trunk/build/mkupdates/mkupdate-with-scores Sun Jul 26 14:08:27 2020
@@ -90,9 +90,11 @@ test_version() {
cd release_$SA_VERSION
- # fix for newer perl: Unescaped left brace in regex is illegal here in regex;
+ # fix for newer perl and <3.4.2: Unescaped left brace in regex is illegal here in regex;
# marked by <-- HERE in m/^(.{ <-- HERE ,200}).*$/ at lib/Mail/SpamAssassin/PerMsgStatus.pm line 921
perl -p -i -e 's/\.\{,200/.{200/g' lib/Mail/SpamAssassin/PerMsgStatus.pm
+ # also do requires ./
+ perl -p -i -e 's%= "version\.h\.pl"%= "./version.h.pl"%g' spamc/configure.pl
# need rules directory or build won't work
if [ ! -e rules ]; then cp -a ../trunk/rules .; fi