blob: 3e90731b5c27b8b1a2f40b23e6b4a6caf5ff4958 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aa,v 1.2 2007/01/21 16:46:06 kleink Exp $
--- drraw.cgi.orig 2007-01-14 11:58:33.000000000 -0800
+++ drraw.cgi 2007-01-21 08:29:51.000000000 -0800
@@ -49,7 +49,7 @@
# The configuration file is expected to be found in the same directory
# as drraw itself. You may customize this to be elsewhere.
-my $config = (dirname($0) =~ /(.*)/)[0] . "/drraw.conf"; # Untaint
+my $config = "@PKG_SYSCONFDIR@/drraw.conf";
# This needs to be manually set for stupid stupid File::Find to work
# in tainted mode.
|