summaryrefslogtreecommitdiff
path: root/www/geeklog/patches/patch-aa
blob: 0847684a512e711353033782d1a39537a8362e14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aa,v 1.4 2009/09/13 01:15:11 taca Exp $

* Correct interpreter path.

--- emailgeeklogstories.orig	2008-12-14 18:57:36.000000000 +0900
+++ emailgeeklogstories
@@ -1,4 +1,4 @@
-#!/usr/local/bin/php -q 
+#!@PREFIX@/bin/php -q
 <?php
 // This code snippet is responsible for emailing Geeklog stories to users 
 // for the topics they select.
@@ -9,7 +9,7 @@
 // flags for this file.
 
 // Change this path to point to your lib-common.php file
-include('/path/to/geeklog/lib-common.php');
+include('@PREFIX@/@GEEKLOG_PUB@/lib-common.php');
 
 COM_emailUserTopics();
 ?>