https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7680

            Bug ID: 7680
           Summary: spamassassin.raw: detect and remove duplicates if
                    paths evaluate to be the same
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Documentation
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

In latest SVN of spamassassin.raw, if

=item @@DEF_RULES_DIR@@

=item @@PREFIX@@/share/spamassassin

happen to evaluate the same, the result really looks bad.

Here's what mine are:
--- /home/jidanni/tmp/spamassassin-trunk/spamassassin.raw       2019-01-15
01:31:58.000000000 +0800
+++ /home/jidanni/tmp/spamassassin-trunk/spamassassin   2019-01-15
01:42:21.000000000 +0800
@@ -26,4 +26,4 @@
-my $PREFIX          = '@@PREFIX@@';             # substituted at 'make' time
-my $DEF_RULES_DIR   = '@@DEF_RULES_DIR@@';      # substituted at 'make' time
-my $LOCAL_RULES_DIR = '@@LOCAL_RULES_DIR@@';    # substituted at 'make' time
-my $LOCAL_STATE_DIR = '@@LOCAL_STATE_DIR@@';    # substituted at 'make' time
+my $PREFIX          = '/home/jidanni/.spamassassin-tree';             #
substituted at 'make' time
+my $DEF_RULES_DIR   = '/home/jidanni/.spamassassin-tree/share/spamassassin';  
   # substituted at 'make' time
+my $LOCAL_RULES_DIR =
'/home/jidanni/.spamassassin-tree/etc/mail/spamassassin';    # substituted at
'make' time
+my $LOCAL_STATE_DIR = '/home/jidanni/.spamassassin-tree/var/spamassassin';   
# substituted at 'make' time

so man spamassassin says
       the first existing directory in:
       /home/jidanni/.spamassassin-tree/etc/mail/spamassassin
       /home/jidanni/.spamassassin-tree/etc/mail/spamassassin
..     using user_prefs.template as a template.  That file will be looked for
in:
       /home/jidanni/.spamassassin-tree/etc/mail/spamassassin
       /home/jidanni/.spamassassin-tree/etc/mail/spamassassin

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to