diff options
Diffstat (limited to 'infrastructure/msvc/getversion.pl')
-rw-r--r-- | infrastructure/msvc/getversion.pl | 3 |
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; |