Fix MailScanner version subsitution and patch path (#272)

This commit is contained in:
Shawn Iverson 2018-10-22 17:52:52 -04:00 committed by GitHub
parent f1e89fc6da
commit a21ffc4a4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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 {} \;

View file

@ -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;