From a21ffc4a4e7b1c4a8fba7904e4dc80c79bf9c78e Mon Sep 17 00:00:00 2001 From: Shawn Iverson Date: Mon, 22 Oct 2018 17:52:52 -0400 Subject: [PATCH] Fix MailScanner version subsitution and patch path (#272) --- Build.suse | 2 +- common/usr/sbin/MailScanner | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Build.suse b/Build.suse index 0305ef4..b0a19a4 100755 --- a/Build.suse +++ b/Build.suse @@ -144,7 +144,7 @@ mkdir -p $RPMOUT/MailScanner-$VERSION cp $SRCDIR/install.sh $RPMOUT/MailScanner-$VERSION/ cp $DEVBASEDIR/README $RPMOUT/MailScanner-$VERSION/ cp $DEVBASEDIR/LICENSE $RPMOUT/MailScanner-$VERSION/ -cp $DEVBASEDIR/patch/patch.diff $RPMOUT/MailScanner-$VERSION/ +cp $SRCDIR/patch/patch.diff $RPMOUT/MailScanner-$VERSION/ find $RPMOUT/MailScanner-$VERSION -name 'install.sh' -exec chmod 755 {} \; find $RPMOUT/MailScanner-$VERSION -name 'LICENSE' -exec chmod 644 {} \; find $RPMOUT/MailScanner-$VERSION -name 'README' -exec chmod 644 {} \; diff --git a/common/usr/sbin/MailScanner b/common/usr/sbin/MailScanner index 436b22f..6ba9f77 100644 --- a/common/usr/sbin/MailScanner +++ b/common/usr/sbin/MailScanner @@ -153,7 +153,7 @@ $SIG{'TERM'} = \&ExitParent; # # First production release will be 4.00.1. # -$MailScanner::Config::MailScannerVersion = '5.1.2'; +$MailScanner::Config::MailScannerVersion = 'VersionNumberHere'; my $WantHelp = 0; my $Versions = 0;