]> Sergey Matveev's repositories - public-inbox.git/commit
Gcf2: Create cache folder if missing
authorRicardo Ribalda <ricardo@ribalda.com>
Thu, 8 Sep 2022 19:57:31 +0000 (21:57 +0200)
committerEric Wong <e@80x24.org>
Thu, 8 Sep 2022 21:28:28 +0000 (21:28 +0000)
commitad8acf7d6484d0a489499742cadadbd4f890ab53
tree5a627446226895d34953337fe604c2dd5cfbfc8f
parent2dac8623e41bee83f1861608e708b33696c7d189
Gcf2: Create cache folder if missing

The code expects that the folder is already present, this patch creates
it if missing.

Without this path the test fails with:

open(/home/debci/.cache/public-inbox/inline-c/.public-inbox.lock): No such file or directory at /usr/share/perl5/PublicInbox/Gcf2.pm line 20

Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
lib/PublicInbox/Gcf2.pm