chiark
/
gitweb
/
~ryounger
/
currentcost.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c5e857c
)
use lib /usr/local/rrd
author
wry@lapis
<none@none>
Tue, 17 Aug 2010 20:56:36 +0000 (21:56 +0100)
committer
wry@lapis
<none@none>
Tue, 17 Aug 2010 20:56:36 +0000 (21:56 +0100)
CurrentCost-detect.pl
patch
|
blob
|
history
CurrentCost.pl
patch
|
blob
|
history
diff --git
a/CurrentCost-detect.pl
b/CurrentCost-detect.pl
index
11999c2
..
3cc14fb
100755
(executable)
--- a/
CurrentCost-detect.pl
+++ b/
CurrentCost-detect.pl
@@
-7,6
+7,7
@@
use strict;
use Device::SerialPort qw( :PARAM :STAT 0.07 );
use Fcntl;
+use lib "/usr/local/rrd";
use SerialLock;
#die "port not specified" unless defined $PORT and -c $PORT;
diff --git
a/CurrentCost.pl
b/CurrentCost.pl
index
adfcf84
..
95d3f6c
100755
(executable)
--- a/
CurrentCost.pl
+++ b/
CurrentCost.pl
@@
-6,6
+6,7
@@
use strict;
use Device::SerialPort qw( :PARAM :STAT 0.07 );
+use lib "/usr/local/rrd";
use SerialLock;
my $BAUD = "57600";