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

New commits:
commit 01856483add4a3417a4e507245beebf7030157f7
Author: Miklos Vajna <[email protected]>
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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to