git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a93c5c6
)
source: create missing cache subdirectories
author
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 27 Jan 2022 22:45:50 +0000
(23:45 +0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 7 Feb 2022 17:42:33 +0000
(18:42 +0100)
Fix storage of modules such as Shiar_Sheet::Keyboard.
source.plp
patch
|
blob
|
history
diff --git
a/source.plp
b/source.plp
index 358bf8475f7355eecc190b76399483aa69d92f18..b10f38b268708d286b573990ae2fc8888f906465 100644
(file)
--- a/
source.plp
+++ b/
source.plp
@@
-86,6
+86,7
@@
else {
say '</pre>';
exit;
}
+ -e or mkdir for $cachefile =~ s{[^/]+\z}{}r; # dirname
open my $cache, '>', $cachefile
or Alert("Could not save cache", "Opening $cachefile failed: $!");;