mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-27 22:11:24 -04:00
14 lines
521 B
Plaintext
14 lines
521 B
Plaintext
$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.
|