aboutsummaryrefslogtreecommitdiffstats
path: root/make-version.pl
diff options
context:
space:
mode:
Diffstat (limited to 'make-version.pl')
-rwxr-xr-xmake-version.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/make-version.pl b/make-version.pl
index 7ebe766ec0..92031d65c9 100755
--- a/make-version.pl
+++ b/make-version.pl
@@ -403,7 +403,7 @@ sub print_svn_revision
close OLDREV;
}
- if (! $set_release) { return; }
+ if (! $set_version && ! $set_release) { return; }
if ($needs_update) {
# print "Updating $version_file so it contains:\n$svn_revision";
@@ -463,6 +463,8 @@ sub get_config {
&read_svn_info();
+&print_svn_revision;
+
if ($set_version || $set_release) {
if ($set_version) {
print "Generating version information\n";
@@ -484,8 +486,6 @@ if ($set_version || $set_release) {
&update_versioned_files;
}
-&print_svn_revision;
-
__END__
=head1 NAM