summaryrefslogtreecommitdiff
path: root/print/pcal/files/patch-html-pcal.pl
blob: 8cb472273c251da7cfb8bb0b4836007cb193bc37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- html/pcal.pl.orig	Thu Oct 20 16:16:41 2005
+++ html/pcal.pl	Thu Oct 20 16:18:11 2005
@@ -28,7 +28,7 @@
 use vars qw(%category %form);
 use strict;
 use CGI;
-$ENV{PATH} = '/usr/bin:/usr/local/bin';
+$ENV{PATH} = '/usr/bin:/usr/local/bin:@@PREFIX@@';
 
 # set DEBUG=1 to echo debugging output as HTML text
 my $DEBUG=0;
@@ -43,8 +43,8 @@
 # common calendar file on your system (note that the user can't use his/her
 # own calendar file since most servers will execute pcal.cgi as 'nobody')
 
-my $PCAL = '/usr/local/bin/pcal';
-my $FILE = '/usr/local/bin/calendar';
+my $PCAL = '@@PREFIX@@/bin/pcal';
+my $FILE = '@@PREFIX@@/bin/calendar';
 #
 my $THECAL;
 my @NOWTIME  = localtime(time()) ;