openbsd-ports/security/hatchet/patches/patch-sbin_hatchet_mkdb

13 lines
416 B
Plaintext
Raw Normal View History

$OpenBSD: patch-sbin_hatchet_mkdb,v 1.1.1.1 2008/06/27 15:16:01 jdixon Exp $
--- sbin/hatchet_mkdb.orig Thu Jun 26 17:21:43 2008
+++ sbin/hatchet_mkdb Thu Jun 26 17:22:32 2008
@@ -10,7 +10,7 @@ use strict;
use DBI;
our $db_file;
-require "/var/www/hatchet/conf/hatchet.conf";
+require "${PREFIX}/hatchet/conf/hatchet.conf";
my $dbh = DBI->connect("DBI:SQLite:dbname=$db_file", "", "") || die $DBI::errstr;