aboutsummaryrefslogtreecommitdiffstats
path: root/make-version.pl
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-17 00:48:21 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-11-17 00:48:21 +0000
commitc74957db0b5dd21abe01c96afe469b0dd9ee9dee (patch)
tree8cece83a5c06db76f574577aad1dedb35fea47a8 /make-version.pl
parentf394847282749e92c7094a82274ea4770997ce46 (diff)
Create/update svnversion.h unless we're only running with --get-*.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39892 f5534014-38df-0310-8fa8-9805f1628bb7
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