check the prefs, don't set the conf dir
authorDon Armstrong <don@debian.org>
Mon, 12 Nov 2007 05:27:36 +0000 (05:27 +0000)
committerDon Armstrong <don@debian.org>
Mon, 12 Nov 2007 05:27:36 +0000 (05:27 +0000)
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-listmaster/trunk/spamassassin_config@95 0b7a5b0c-1f2c-0410-bd74-c376f8064c91

update_spamassassin

index 59ab92e..f9e02d6 100755 (executable)
@@ -75,8 +75,8 @@ if svn status |grep -q '^C'; then
 fi;
 cd - >/dev/null 2>&1
 
-if ! spamassassin -C $TMPDIR/spamassassin_config/$USERCONF --lint > $TMPDIR/sa_lint 2>&1; then
-    FAILUREMESSAGE="$(echo -e 'spamassassin -C $TMPDIR/spamassassin_config/$USERCONF --lint\nfailed with\n'| cat - $TMPDIR/sa_lint)";
+if ! spamassassin -p $TMPDIR/spamassassin_config/$USERCONF --lint > $TMPDIR/sa_lint 2>&1; then
+    FAILUREMESSAGE="$(echo -e 'spamassassin -p $TMPDIR/spamassassin_config/$USERCONF --lint\nfailed with\n'| cat - $TMPDIR/sa_lint)";
     report_failure
 fi;
 mv "$SACONFIG" "$BAKDIR/spamassassin_config_r$ORIGREV"