From: Don Armstrong Date: Wed, 9 Aug 2017 20:59:54 +0000 (-0700) Subject: use lib dirname(__FILE__) for scanlib and bugcfg X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=commitdiff_plain;h=0bd89e8a1509aab323a3963836482cd96d6002e7;hp=aa080dc8491e025719f74bd80a0f6aa5dd27f79b use lib dirname(__FILE__) for scanlib and bugcfg --- diff --git a/bugcounts b/bugcounts index ae678a8..ac49f8c 100755 --- 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;