You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by si...@apache.org on 2017/04/11 14:46:25 UTC

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

Author: sidney
Date: Tue Apr 11 14:46:24 2017
New Revision: 1790984

URL: http://svn.apache.org/viewvc?rev=1790984&view=rev
Log:
bug7181 - was using perl's install prefix instead of the spamassassin install prefix, also left an extra /

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=1790984&r1=1790983&r2=1790984&view=diff
==============================================================================
--- spamassassin/trunk/t/sa_compile.t (original)
+++ spamassassin/trunk/t/sa_compile.t Tue Apr 11 14:46:24 2017
@@ -9,7 +9,7 @@ use File::Basename;
 use File::Path qw/mkpath/;
 
 my $temp_binpath = $Config{sitebinexp};
-$temp_binpath =~ s/^\Q$Config{prefix}\E//;
+$temp_binpath =~ s|^\Q$Config{siteprefixexp}\E/||;
 
 # called from BEGIN
 sub re2c_version_new_enough {