You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2014/02/20 20:53:44 UTC

svn commit: r1570334 - /spamassassin/trunk/t/sa_compile.t

Author: mmartinec
Date: Thu Feb 20 19:53:44 2014
New Revision: 1570334

URL: http://svn.apache.org/r1570334
Log:
Bug 7005: sa_compile.t test failures with MacPorts' perl - safe quoting

Modified:
    spamassassin/trunk/t/sa_compile.t

Modified: spamassassin/trunk/t/sa_compile.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/sa_compile.t?rev=1570334&r1=1570333&r2=1570334&view=diff
==============================================================================
--- spamassassin/trunk/t/sa_compile.t (original)
+++ spamassassin/trunk/t/sa_compile.t Thu Feb 20 19:53:44 2014
@@ -7,7 +7,7 @@ use Test;
 use Config;
 
 my $temp_binpath = $Config{sitebinexp};
-$temp_binpath =~ s/^$Config{prefix}//;
+$temp_binpath =~ s/^\Q$Config{prefix}\E//;
 
 # called from BEGIN
 sub re2c_version_new_enough {