[Libreoffice-commits] dev-tools.git: ciabot/libreoffice-bugzilla.pl

Miklos Vajna vmiklos at collabora.co.uk
Sun Nov 24 06:10:28 PST 2013


 ciabot/libreoffice-bugzilla.pl |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 01856483add4a3417a4e507245beebf7030157f7
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Sun Nov 24 14:10:07 2013 +0000

    ciabot: no longer assume config.pl in ~/bin for bugzilla notification

diff --git a/ciabot/libreoffice-bugzilla.pl b/ciabot/libreoffice-bugzilla.pl
index 4823c44..5e93464 100755
--- a/ciabot/libreoffice-bugzilla.pl
+++ b/ciabot/libreoffice-bugzilla.pl
@@ -21,7 +21,11 @@ use strict;
 
 our $bugzilla = {};
 
-do $ENV{'HOME'} . "/bin/config.pl";
+use File::Basename;
+
+my $config = dirname($0) . "/config.pl";
+
+do $config;
 
 # The bug_regex should extract the bug id from the commit message and place
 # it in $1


More information about the Libreoffice-commits mailing list