Appended OS names to package archives (bug 4395, r+a13=dvander).

This commit is contained in:
Scott Ehlert 2010-07-14 23:45:01 -05:00
parent 7316b6255c
commit 5dd18eeaad

View File

@ -35,6 +35,16 @@ $version = Build::ProductVersion(Build::PathFormat('../../build/product.version'
$version =~ s/-dev//g;
$version .= '-hg' . Build::HgRevNum('../../build');
# Append OS to package version
if ($^O =~ /MSWin/)
{
$version .= '-windows';
}
else
{
$version .= '-' . $^O;
}
my ($filename);
$filename = 'sourcemod-' . $version;
if ($^O eq "linux")