From: Mark Wooding Date: Sun, 11 Jun 2023 16:48:42 +0000 (+0100) Subject: mason/.perl-lib/TrivGal.pm (Image::scale): Put `-' in temporary file name. X-Git-Url: https://git.distorted.org.uk/~mdw/tgal/commitdiff_plain/227d23a02fd8d9ce91e47889c7497a1548a6f855 mason/.perl-lib/TrivGal.pm (Image::scale): Put `-' in temporary file name. After all, this what `clean_temp_files' is looking for. --- diff --git a/mason/.perl-lib/TrivGal.pm b/mason/.perl-lib/TrivGal.pm index eb82db2..9b05723 100644 --- a/mason/.perl-lib/TrivGal.pm +++ b/mason/.perl-lib/TrivGal.pm @@ -252,7 +252,7 @@ package TrivGal::Image { $scaled->image_set_format($ty->imlibfmt); $scaled->set_quality(90); - my $new = "$TMP/t${$}$ext"; + my $new = "$TMP/t$$-$ext"; make_path $TMP; $scaled->save($new); make_path $dir;