bugscan now uses basename
authorDon Armstrong <don@donarmstrong.com>
Thu, 6 Mar 2014 00:20:26 +0000 (16:20 -0800)
committerDon Armstrong <don@donarmstrong.com>
Thu, 6 Mar 2014 00:20:26 +0000 (16:20 -0800)
use bugcfg
use scanlib

bugscan

diff --git a/bugscan b/bugscan
index e4cdfd3..e9478f0 100755 (executable)
--- a/bugscan
+++ b/bugscan
@@ -1,9 +1,12 @@
 #! /usr/bin/perl
 
-require bugcfg;
-require scanlib;
+use warnings;
 use strict;
-# use warnings;
+
+use File::Basename;
+use lib dirname(__FILE__);
+use bugcfg;
+use scanlib;
 
 # Main part