Bug 7042 - sa-compile has hardcoded location for siteconfigpath in the help output
Summary: sa-compile has hardcoded location for siteconfigpath in the help output
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: sa-compile (show other bugs)
Version: 3.4.0
Hardware: PC Mac OS X
: P2 blocker
Target Milestone: 3.4.2
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-13 01:21 UTC by Quanah Gibson-Mount
Modified: 2018-09-04 17:33 UTC (History)
2 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Quanah Gibson-Mount 2014-05-13 01:21:42 UTC
When running sa-compile -h, it outputs:

      --siteconfigpath=path         Path for site configs
                                    (default: /etc/mail/spamassassin)

Note: /etc/mail/spamassassin

This is hard coded into the help text, regardless of what actual site config path it was compiled to use:

May 12 20:04:47.214 [25542] dbg: generic: Perl 5.010001, PREFIX=/opt/zimbra/zimbramon, DEF_RULES_DIR=/opt/zimbra/data/spamassassin/rules, LOCAL_RULES_DIR=/opt/zimbra/data/spamassassin/localrules, LOCAL_STATE_DIR=/opt/zimbra/data/spamassassin/state

This should be fixed to reflect the actual paths used by sa-compile, similar to what was done for the updatedir output:

      --updatedir=path              Directory to place updates
              (default: /opt/zimbra/data/spamassassin/state/compiled/<perlversion>/3.004000)
Comment 1 Kevin A. McGrail 2018-09-04 17:33:04 UTC
Trunk:
Committed revision 1840052.
3.4:
Committed revision 1840053.