From 72ae8fbf69b4a8de4cf31c5b9b9ee7bb760f2278 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 26 Jan 2017 00:37:00 +0100
Subject: [PATCH] Move captchas into captchas/public/ dir linkable by lacking
 default.do.

---
 processor/default.html.do | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/processor/default.html.do b/processor/default.html.do
index 196713c..31fa9cd 100644
--- a/processor/default.html.do
+++ b/processor/default.html.do
@@ -10,7 +10,8 @@ prep_url() {
 # Pull in global dependencies.
 . ./helpers.sh
 metadata_dir=metadata
-captchas_dir=captchas
+captchas_dir=captchas/public
+mkdir -p "$captchas_dir"
 meta_file="${metadata_dir}/${1%.html}.automatic_metadata"
 redo-ifchange "$meta_file"
 intermediate_file="${metadata_dir}/${1%.html}.intermediate"
-- 
2.30.2