);
my $srcdir = ".";
+$ENV{LANG} = "C"; # Ensure we run with correct locale
# Run "svn info". Parse out the most recent modification time and the
# revision number.
"/* #define SVNPATH \"\" */\n";
}
if (open(OLDVER, "<$version_file")) {
- if (<OLDVER> eq $svn_version) {
+ my $old_svn_version = <OLDVER> . <OLDVER>;
+ if ($old_svn_version eq $svn_version) {
$needs_update = 0;
}
close OLDVER;