Skip to content

Commit 66a5522

Browse files
authored
remove xargs usage
1 parent a189c4d commit 66a5522

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.maintenance/clone-all-repositories.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
printf( "Fetching \033[32mwp-cli/{$repository->name}\033[0m...\n" );
2727
system( "git clone {$repository->clone_url}" );
2828
}
29-
30-
$update_folders[] = $repository->name;
29+
30+
system( "php .maintenance/refresh-repository.php " . $repository->name . " > /dev/null" );
3131
}
32-
33-
$updates = implode( ' ', $update_folders );
34-
system( "echo $updates | xargs -n1 -P8 -I% php .maintenance/refresh-repository.php %" );

0 commit comments

Comments
 (0)