diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-01-06 12:24:38 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-01-06 12:24:38 +0000 |
commit | a33f717f89e3eeade3a7505c8ae6684c68141ae7 (patch) | |
tree | 4c8e0f4ce97befed1987e2da5c32cf832f1df99b /make-version.pl | |
parent | c5fac7edc4bc3e9d76c43b1200768cfa429cc63a (diff) |
Compare both lines in svnversion.h when checking for update needed.
svn path=/trunk/; revision=31454
Diffstat (limited to 'make-version.pl')
-rwxr-xr-x | make-version.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/make-version.pl b/make-version.pl index 827115e4b7..45312cc8f1 100755 --- a/make-version.pl +++ b/make-version.pl @@ -257,7 +257,8 @@ sub print_svn_version "/* #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; |