Skip to content

Commit 9f22244

Browse files
authored
Merge pull request #248 from ramonfincken/use_wpt_php_executable_for_composer
[TASK] Use WPT_PHP_EXECUTABLE for composer
2 parents 6fc315e + d988d2f commit 9f22244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prepare.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function curl_selected_bits(\$k) { return in_array(\$k, array('version', 'ssl_ve
304304
) );
305305

306306
// Update the command to use the downloaded Composer phar file.
307-
$composer_cmd .= 'php composer.phar ';
307+
$composer_cmd .= $WPT_PHP_EXECUTABLE . ' composer.phar ';
308308
}
309309

310310
// Set the PHP version for Composer to ensure compatibility and update dependencies.

0 commit comments

Comments
 (0)