mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
small change to the version changer for release builds
This commit is contained in:
parent
3750788893
commit
efbba0a909
@ -139,7 +139,17 @@ while ( ($cur_module, $mod_i) = each(%modules) )
|
||||
die "File $infile is not a file.\n";
|
||||
}
|
||||
my $global_rev = $rev;
|
||||
my $local_rev = GetRevision($mod{'folder'});
|
||||
my $local_rev;
|
||||
|
||||
if ($arguments{'build'} == undef)
|
||||
{
|
||||
$local_rev = GetRevision($mod{'folder'});
|
||||
}
|
||||
else
|
||||
{
|
||||
$local_rev = $rev;
|
||||
}
|
||||
|
||||
if ($arguments{'svnrev'} eq 'local')
|
||||
{
|
||||
$global_rev = $local_rev;
|
||||
|
Loading…
Reference in New Issue
Block a user