Skip to content

Commit 5b0c679

Browse files
Merge branch '4.2' into 4.3
* 4.2: [Bridge/PhpUnit] fix running composer to install phpunit
2 parents 3f7b510 + 565c1b9 commit 5b0c679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/simple-phpunit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
$prevRoot = getenv('COMPOSER_ROOT_VERSION');
129129
putenv("COMPOSER_ROOT_VERSION=$PHPUNIT_VERSION.99");
130130
// --no-suggest is not in the list to keep compat with composer 1.0, which is shipped with Ubuntu 16.04LTS
131-
$exit = proc_close(proc_open("$COMPOSER install --no-dev --prefer-dist --no-progress --ansi", array(), $p));
131+
$exit = proc_close(proc_open("$COMPOSER install --no-dev --prefer-dist --no-progress --ansi", array(), $p, getcwd()));
132132
putenv('COMPOSER_ROOT_VERSION'.(false !== $prevRoot ? '='.$prevRoot : ''));
133133
if ($exit) {
134134
exit($exit);

0 commit comments

Comments
 (0)