aboutsummaryrefslogtreecommitdiffstats
path: root/make-version.pl
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-01-06 12:24:38 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-01-06 12:24:38 +0000
commitfd59b5b8662d6cad8794f2054ec1543c8a3a2de5 (patch)
tree4c8e0f4ce97befed1987e2da5c32cf832f1df99b /make-version.pl
parentd71460d6dd633aaf3af078d602ee3e9aa85c4a4e (diff)
Compare both lines in svnversion.h when checking for update needed.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31454 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'make-version.pl')
-rwxr-xr-xmake-version.pl3
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;