mirror of https://github.com/encounter/SDL.git
fnsince.pl: Don't print out the version numbers if updating the wiki.
This commit is contained in:
parent
85edbc92ac
commit
179a04f85a
|
@ -101,13 +101,14 @@ $funcs{'SDL_WinRTGetFSPathUNICODE'} = '2.0.3';
|
||||||
$funcs{'SDL_WinRTGetFSPathUTF8'} = '2.0.3';
|
$funcs{'SDL_WinRTGetFSPathUTF8'} = '2.0.3';
|
||||||
$funcs{'SDL_WinRTRunApp'} = '2.0.3';
|
$funcs{'SDL_WinRTRunApp'} = '2.0.3';
|
||||||
|
|
||||||
foreach my $release (@releases) {
|
if (not defined $wikipath) {
|
||||||
|
foreach my $release (@releases) {
|
||||||
foreach my $fn (sort keys %funcs) {
|
foreach my $fn (sort keys %funcs) {
|
||||||
print("$fn: $funcs{$fn}\n") if $funcs{$fn} eq $release;
|
print("$fn: $funcs{$fn}\n") if $funcs{$fn} eq $release;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
if (defined $wikipath) {
|
if (defined $wikipath) {
|
||||||
chdir($wikipath);
|
chdir($wikipath);
|
||||||
foreach my $fn (keys %funcs) {
|
foreach my $fn (keys %funcs) {
|
||||||
my $revision = $funcs{$fn};
|
my $revision = $funcs{$fn};
|
||||||
|
@ -158,6 +159,6 @@ if (defined $wikipath) {
|
||||||
}
|
}
|
||||||
close(FH);
|
close(FH);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue