Let crontab script recognize php-5.2 and php-5.3 binaries
This commit is contained in:
parent
392c4fa859
commit
24a2d32919
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.41 2011/10/19 16:44:34 giovanni Exp $
|
||||
# $OpenBSD: Makefile,v 1.42 2011/11/07 11:26:33 giovanni Exp $
|
||||
|
||||
COMMENT= open source web analytics software program
|
||||
|
||||
DISTNAME= piwik-1.6
|
||||
REVISION= 0
|
||||
CATEGORIES= www
|
||||
|
||||
HOMEPAGE= http://www.piwik.org/
|
||||
|
12
www/piwik/patches/patch-misc_cron_archive_sh
Normal file
12
www/piwik/patches/patch-misc_cron_archive_sh
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-misc_cron_archive_sh,v 1.1 2011/11/07 11:26:33 giovanni Exp $
|
||||
--- misc/cron/archive.sh.orig Mon Nov 7 12:19:56 2011
|
||||
+++ misc/cron/archive.sh Mon Nov 7 12:20:25 2011
|
||||
@@ -30,7 +30,7 @@
|
||||
# enable_browser_archiving_triggering = false
|
||||
#===========================================================================
|
||||
|
||||
-for TEST_PHP_BIN in php5 php php-cli php-cgi; do
|
||||
+for TEST_PHP_BIN in php-5.2 php-5.3 php5 php php-cli php-cgi; do
|
||||
if which $TEST_PHP_BIN >/dev/null 2>/dev/null; then
|
||||
PHP_BIN=`which $TEST_PHP_BIN`
|
||||
break
|
Loading…
Reference in New Issue
Block a user