use lib dirname(__FILE__) for everything
authorDon Armstrong <don@donarmstrong.com>
Wed, 9 Aug 2017 23:05:52 +0000 (16:05 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 9 Aug 2017 23:05:52 +0000 (16:05 -0700)
bugdiff
bugreport
make-britney-counts

diff --git a/bugdiff b/bugdiff
index e120dcb..b96377c 100755 (executable)
--- a/bugdiff
+++ b/bugdiff
@@ -4,8 +4,10 @@
 # Compare two buglist status-files
 
 use Getopt::Std;
-require scanlib;
-require bugcfg;
+use File::Basename;
+use lib dirname(__FILE__);
+use bugcfg;
+use scanlib;
 use strict;
 use warnings;
 
index ff1b0c7..72bd249 100755 (executable)
--- a/bugreport
+++ b/bugreport
@@ -4,8 +4,10 @@
 # Generate a report of the release-critical bugs for packages
 
 use Getopt::Std;
-require scanlib;
-require bugcfg;
+use File::Basename;
+use lib dirname(__FILE__);
+use bugcfg;
+use scanlib;
 use strict;
 use warnings;
 
index 1c57055..955dc93 100755 (executable)
@@ -4,8 +4,10 @@
 # Generate a report britney can use
 
 use Getopt::Std;
-require scanlib;
-require bugcfg;
+use File::Basename;
+use lib dirname(__FILE__);
+use bugcfg;
+use scanlib;
 use strict;
 # use warnings;