Verified Commit bebd3504 authored by noplanman's avatar noplanman

Simplify JSON file saving.

parent 6527a1fa
......@@ -44,11 +44,7 @@ foreach (['armv5', 'armv6', 'arm64'] as $flavor) {
'url' => get_dl_link($flavor, $stable),
$fp = fopen('binaries.json', 'w');
fwrite($fp, json_encode($binaries));
file_put_contents('binaries.json', json_encode($binaries));
<!DOCTYPE html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment