made it automatically use WebGUI and the ups-driver folders

This commit is contained in:
root 2009-06-18 12:04:43 -05:00
parent 17681a3fb5
commit d55a901e43

View file

@ -8,10 +8,11 @@ $|++; # disable output buffering
our ($webguiRoot, $configFile, $help, $man);
BEGIN {
$webguiRoot = "..";
$webguiRoot = "/data/WebGUI";
unshift (@INC, $webguiRoot."/lib");
}
use lib '/data/ups-driver';
use strict;
use Pod::Usage;
use Getopt::Long;