You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2006/05/31 21:34:08 UTC
svn commit: r410644 - /spamassassin/trunk/lib/Mail/SpamAssassin.pm
Author: felicity
Date: Wed May 31 12:34:07 2006
New Revision: 410644
URL: http://svn.apache.org/viewvc?rev=410644&view=rev
Log:
bug 4932: have to use sed_path() otherwise ~ doesn't work
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin.pm
Modified: spamassassin/trunk/lib/Mail/SpamAssassin.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin.pm?rev=410644&r1=410643&r2=410644&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin.pm Wed May 31 12:34:07 2006
@@ -1368,7 +1368,7 @@
if (!$self->{dont_copy_prefs}) {
# bug 4932: if the userprefs path doesn't exist, we need to make it, so
# just use the last entry in the array as the default path.
- $fname ||= $default_userprefs_path[-1];
+ $fname ||= $self->sed_path($default_userprefs_path[-1]);
if (!-f $fname && !$self->create_default_prefs($fname)) {
warn "config: failed to create default user preference file $fname\n";
@@ -1484,7 +1484,7 @@
if (!$self->{dont_copy_prefs}) {
# bug 4932: use the last default_userstate_dir entry if none of the others
# already exist
- $fname ||= $default_userstate_dir[-1];
+ $fname ||= $self->sed_path($default_userstate_dir[-1]);
dbg("config: using \"$fname\" for user state dir");