summaryrefslogtreecommitdiff
path: root/net-mgmt/cricket/files/patch-ag
blob: 830972963a84ac8959ac67ffa0070c6dde52237d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
*** util/rrd-dump.orig	Wed Jun 16 04:28:02 1999
--- util/rrd-dump	Sun Feb 13 20:49:13 2000
***************
*** 1,11 ****
! #!/usr/local/bin/perl -w 
  # -*- perl -*-
  
  # this is a little script to exercise RRD::File -- useful
  # when I was developing it, and possibly useful now too
  
  BEGIN {
!     $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "..";
  }
  
  use lib "$gInstallRoot/lib";
--- 1,12 ----
! #!%%PATHPERLBIN%% -w 
  # -*- perl -*-
  
  # this is a little script to exercise RRD::File -- useful
  # when I was developing it, and possibly useful now too
  
  BEGIN {
! #    $gInstallRoot = (($0 =~ m:^(.*/):)[0] || "./") . "..";
!     $gInstallRoot = '%%PREFIX%%/cricket';
  }
  
  use lib "$gInstallRoot/lib";