mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-01-30 19:52:17 +01:00
Appended OS names to package archives (bug 4396, r=dvander).
This commit is contained in:
parent
0a0f4845e8
commit
1130977c9d
@ -34,6 +34,20 @@ my ($version);
|
||||
$version = Build::ProductVersion(Build::PathFormat('../product.version'));
|
||||
$version .= '-hg' . Build::HgRevNum('..');
|
||||
|
||||
# Append OS to package version
|
||||
if ($^O eq "darwin")
|
||||
{
|
||||
$version .= '-mac';
|
||||
}
|
||||
elsif ($^O =~ /MSWin/)
|
||||
{
|
||||
$version .= '-windows';
|
||||
}
|
||||
else
|
||||
{
|
||||
$version .= '-' . $^O;
|
||||
}
|
||||
|
||||
my ($filename);
|
||||
$filename = 'mmsource-' . $version;
|
||||
if ($^O eq "linux")
|
||||
|
Loading…
x
Reference in New Issue
Block a user