From a33f717f89e3eeade3a7505c8ae6684c68141ae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Wed, 6 Jan 2010 12:24:38 +0000 Subject: Compare both lines in svnversion.h when checking for update needed. svn path=/trunk/; revision=31454 --- make-version.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'make-version.pl') 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 ( eq $svn_version) { + my $old_svn_version = . ; + if ($old_svn_version eq $svn_version) { $needs_update = 0; } close OLDVER; -- cgit v1.2.3