From d55a901e43173c221c4a63a9539c4f0ae9b6d0cf Mon Sep 17 00:00:00 2001 From: root Date: Thu, 18 Jun 2009 12:04:43 -0500 Subject: [PATCH] made it automatically use WebGUI and the ups-driver folders --- sbin/installUPSDriver.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sbin/installUPSDriver.pl b/sbin/installUPSDriver.pl index 33e008ed4..ec4357e13 100644 --- a/sbin/installUPSDriver.pl +++ b/sbin/installUPSDriver.pl @@ -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;