mirror of
https://github.com/composer/composer
synced 2025-05-10 00:53:06 +00:00
use a proper tmp directory
this test failed on OSX before, trying to create a directory at the root of the filesystem
This commit is contained in:
parent
f1fd7d1dd6
commit
f829a160fb
2 changed files with 31 additions and 4 deletions
|
@ -294,7 +294,7 @@ EOT
|
|||
|
||||
// handler Ctrl+C for unix-like systems
|
||||
if (function_exists('pcntl_signal')) {
|
||||
declare (ticks = 100);
|
||||
declare(ticks=100);
|
||||
pcntl_signal(SIGINT, function () use ($directory) {
|
||||
$fs = new Filesystem();
|
||||
$fs->removeDirectory($directory);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue