source: box/trunk/infrastructure/printversion.pl @ 2329

Revision 2329, 231 bytes checked in by chris, 3 years ago (diff)

Add a script to print the Box software version, to substitute into the
installer and the documentation.

Line 
1#!perl
2
3$basedir = $0;
4$basedir =~ s|/.*||;
5$basedir .= "/..";
6-d $basedir or die "$basedir: $!";
7chdir $basedir or die "$basedir: $!";
8require "infrastructure/BoxPlatform.pm.in";
9
10print "$BoxPlatform::product_version\n";
11
12exit 0;
Note: See TracBrowser for help on using the repository browser.