Skip to content

Commit 892bc0e

Browse files
authored
revert and change string format
1 parent 66a5522 commit 892bc0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.maintenance/clone-all-repositories.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@
2727
system( "git clone {$repository->clone_url}" );
2828
}
2929

30-
system( "php .maintenance/refresh-repository.php " . $repository->name . " > /dev/null" );
30+
$update_folders[] = $repository->name;
3131
}
32+
33+
$updates = implode( '\n', $update_folders );
34+
system( "echo '$updates' | xargs -n1 -P8 -I% php .maintenance/refresh-repository.php %" );

0 commit comments

Comments
 (0)