Commit r2364: https://sourceforge.net/p/mrbs/code/2364/

------------------------------------------------------------------------
r2364 | jberanek | 2012-07-26 23:06:06 +0100 (Thu, 26 Jul 2012) | 1 line
Changed paths:
   M /tools/trunk/commit-emailer.pl

Improved to use FindBin to locate '.lastrev' file
------------------------------------------------------------------------

Index: tools/trunk/commit-emailer.pl
===================================================================
--- tools/trunk/commit-emailer.pl       (revision 2363)
+++ tools/trunk/commit-emailer.pl       (revision 2364)
@@ -3,6 +3,7 @@
 use MIME::Lite;
 use XML::Simple;
 use LWP::UserAgent;
+use FindBin;
 
 # Config
 my $project = 'mrbs';
@@ -45,7 +46,7 @@
 
 my @sorted_revisions = sort @revisions;
 
-my $last_rev_filename = "$project-$svn_repos.lastrev";
+my $last_rev_filename = "$FindBin::Bin/$project-$svn_repos.lastrev";
 my $last_rev = 0;
 my $ok = open LAST_REV,'<',$last_rev_filename;
 if ($ok)

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to