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 2007/02/02 19:30:03 UTC

svn commit: r502686 - /spamassassin/trunk/sa-compile.raw

Author: jm
Date: Fri Feb  2 10:30:02 2007
New Revision: 502686

URL: http://svn.apache.org/viewvc?view=rev&rev=502686
Log:
sa-compile --list doesn't need write privs to /var/lib/spamassassin

Modified:
    spamassassin/trunk/sa-compile.raw

Modified: spamassassin/trunk/sa-compile.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/sa-compile.raw?view=diff&rev=502686&r1=502685&r2=502686
==============================================================================
--- spamassassin/trunk/sa-compile.raw (original)
+++ spamassassin/trunk/sa-compile.raw Fri Feb  2 10:30:02 2007
@@ -145,7 +145,7 @@
 $spamtest->{bases_split_out_alternations} = 1;
 
 my $installdir = $spamtest->sed_path('__local_state_dir__/compiled/__version__');
-if (!-w $installdir) {
+if (!-w $installdir && !defined $opt{'list'}) {
   die "sa-compile: cannot write to $installdir, aborting\n";
 }