Browse Source

fix auto detection of php-cli/php-cgi for test

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@271 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 15 years ago
parent
commit
1cd932e4f3
  1. 4
      run-xcachetest

4
run-xcachetest

@ -6,13 +6,13 @@ if test -x ./php-cli ; then
elif test ! -z "$TEST_PHP_EXECUTABLE" && test -x "$TEST_PHP_EXECUTABLE"; then
php_cli="$TEST_PHP_EXECUTABLE"
else
php_cli="which php"
php_cli="`which php`"
fi
if test -x ./php-cgi ; then
php_cgi=./php-cgi
else
php_cgi="which php-cgi"
php_cgi="`which php-cgi`"
fi
test -z "$PHP_SRC" && PHP_SRC=./php-src

Loading…
Cancel
Save