patch-sbin_hatchart 505 B

12345678910111213
  1. $OpenBSD: patch-sbin_hatchart,v 1.1.1.1 2008/06/27 15:16:01 jdixon Exp $
  2. --- sbin/hatchart.orig Thu Jun 26 17:21:31 2008
  3. +++ sbin/hatchart Thu Jun 26 17:22:09 2008
  4. @@ -12,7 +12,7 @@ use DBD::Chart;
  5. use Time::Local qw( timelocal );
  6. our ($db_file, $ipv6, $max_wedges, $width, $height, $graphs_dir);
  7. -require "/var/www/hatchet/conf/hatchet.conf";
  8. +require "${PREFIX}/hatchet/conf/hatchet.conf";
  9. my $dbh = DBI->connect("DBI:SQLite:dbname=$db_file", "", "") || die $DBI::errstr;
  10. my $date = get_date();