Révision 01dfd3b5
Ajouté par Assos Assos il y a plus de 3 ans
drupal7/scripts/run-tests.sh | ||
---|---|---|
264 | 264 |
// '_' is an environment variable set by the shell. It contains the command that was executed. |
265 | 265 |
$php = $php_env; |
266 | 266 |
} |
267 |
elseif (defined('PHP_BINARY') && $php_env = PHP_BINARY) { |
|
268 |
// 'PHP_BINARY' specifies the PHP binary path during script execution. Available since PHP 5.4. |
|
269 |
$php = $php_env; |
|
270 |
} |
|
267 | 271 |
elseif ($sudo = getenv('SUDO_COMMAND')) { |
268 | 272 |
// 'SUDO_COMMAND' is an environment variable set by the sudo program. |
269 | 273 |
// Extract only the PHP interpreter, not the rest of the command. |
Formats disponibles : Unified diff
Udpate to 7.77