use lib dirname(__FILE__) for scanlib and bugcfg
authorDon Armstrong <don@donarmstrong.com>
Wed, 9 Aug 2017 20:59:54 +0000 (13:59 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 9 Aug 2017 20:59:54 +0000 (13:59 -0700)
bugcounts

index ae678a8..ac49f8c 100755 (executable)
--- a/bugcounts
+++ b/bugcounts
@@ -4,8 +4,10 @@
 # Generate some counts for the bugreports
 
 use Getopt::Std;
-require scanlib;
-require bugcfg;
+use File::Basename;
+use lib dirname(__FILE__);
+use bugcfg;
+use scanlib;
 use strict;
 # use warnings;