Let crontab script recognize php-5.2 and php-5.3 binaries

This commit is contained in:
giovanni 2011-11-07 11:26:33 +00:00
parent 392c4fa859
commit 24a2d32919
2 changed files with 14 additions and 1 deletions

View File

@ -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/

View 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