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/28 00:38:32 UTC

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

Author: jm
Date: Tue Feb 27 15:38:30 2007
New Revision: 512494

URL: http://svn.apache.org/viewvc?view=rev&rev=512494
Log:
--sudo means skip the writable check

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=512494&r1=512493&r2=512494
==============================================================================
--- spamassassin/trunk/sa-compile.raw (original)
+++ spamassassin/trunk/sa-compile.raw Tue Feb 27 15:38:30 2007
@@ -146,6 +146,7 @@
 
 my $installdir = $spamtest->sed_path('__local_state_dir__/compiled/__version__');
 if ((!defined $opt{'list'})
+        && !$opt{'sudo'}
         && -d $installdir && !-w $installdir)
 {
   die "sa-compile: cannot write to $installdir, aborting\n";