svn path=/trunk/; revision=38340
This commit is contained in:
Chris Maynard 2011-08-04 20:20:51 +00:00
parent b4ce593083
commit 78ef4cdd88
1 changed files with 3 additions and 2 deletions

View File

@ -255,8 +255,7 @@ sub print_svn_version
$revision . "\"\n" .
"#define SVNPATH \"" . $repo_path . "\"\n";
} else {
$svn_version = "#define SVNVERSION \"SVN Rev Unknown\"\n" .
"#define SVNPATH \"unknown\"\n";
$svn_version = "\n";
}
if (open(OLDVER, "<$version_file")) {
my $old_svn_version = <OLDVER> . <OLDVER>;
@ -333,6 +332,8 @@ if ($svn_info_cmd) {
}
} else {
print "This is not a SVN build.\n";
$last_change = 0;
$revision = 0;
}
&print_svn_version;