Patch: fix PHP_BIN detection in misc/cron/

(blueyed) #1

Your trac instance is broken (301 Moved Permanently), therefore I’m submitting the patch here. uses “set -e” and tests for “php5” first. If that fails, the script aborts.

Therefore, it will only run with php5, but not “php”.

The patch makes it easy to extend in the future (e.g. with “php6”), too.

(vipsoft) #2

Thanks. Fixed in svn.