Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcal committed Feb 5, 2024
1 parent 51d1de1 commit dc7ebb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/facebook/grab.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
$json = file_get_contents('../../emoji.json');
$data = json_decode($json, true);

if (!$fetch_incremental) shell_exec("rm -f ../../img-facebook-96/*.png");
if (!$fetch_incremental) shell_exec("rm -f ../../img-facebook-96/"."*.png");


foreach ($data as $row){
Expand Down
2 changes: 1 addition & 1 deletion build/facebook/make64.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function thumb_set($from, $to){
exec("convert {$src} -resize 64x64 png32:{$dst}", $out, $code);
if ($code){
echo "ERROR:\n";
echo " ".$out."\n";
echo " ".implode("\n", $out)."\n";
}else{
echo ".";
}
Expand Down

0 comments on commit dc7ebb4

Please sign in to comment.