summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-04-16 17:09:39 +0000
committerChris Wilson <chris+github@qwirx.com>2011-04-16 17:09:39 +0000
commit96d2dfb251c2b8df7c56140698665c325d9dd27d (patch)
tree5afbc87b27a06f534db896fb13af90ba74bd4a77 /infrastructure
parent1a11d3a8d66ddae7b8013b1a33404b580a89e62d (diff)
Remove redundant copy of the version string from getversion.pl.
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/msvc/getversion.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/infrastructure/msvc/getversion.pl b/infrastructure/msvc/getversion.pl
index 406501c6..909f4a30 100644
--- a/infrastructure/msvc/getversion.pl
+++ b/infrastructure/msvc/getversion.pl
@@ -22,8 +22,9 @@ if ($newver ne $oldver)
{
open VERSIONFILE, "> $basedir/lib/common/BoxVersion.h"
or die "BoxVersion.h: $!";
- print VERSIONFILE "#define BOX_VERSION \"$BoxPlatform::product_version\"\n";
+ print VERSIONFILE $newver;
close VERSIONFILE;
}
+print $BoxPlatform::product_version;
exit 0;