r513 - trunk/misc

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Feb 28 02:34:15 EST 2008


Author: icculus
Date: 2008-02-28 02:34:15 -0500 (Thu, 28 Feb 2008)
New Revision: 513

Modified:
   trunk/misc/localization2pot.pl
Log:
Report current version of script in output.


Modified: trunk/misc/localization2pot.pl
===================================================================
--- trunk/misc/localization2pot.pl	2008-02-28 03:29:50 UTC (rev 512)
+++ trunk/misc/localization2pot.pl	2008-02-28 07:34:15 UTC (rev 513)
@@ -9,13 +9,16 @@
 binmode(STDOUT, ":utf8");
 binmode(STDERR, ":utf8");
 
+my $svnver = `svnversion . 2>/dev/null`;
+$svnver = ", version svn-$svnver" if ($svnver ne '');
+
 print <<__EOF__;
 
 # MojoSetup; a portable, flexible installation application.
 #
 # Please see the file LICENSE.txt in the source's root directory.
 #
-# This file generated by localization2pot.pl
+# This file generated by localization2pot.pl${svnver}
 #
 #
 # NOTE: If you care about Unicode or ASCII chars above 127, this file _MUST_




More information about the mojosetup-commits mailing list