From ebf1c6b354fdec827485858b215ce61df36ce385 Mon Sep 17 00:00:00 2001
From: Fabian Gabel <fabian.gabel@tuhh.de>
Date: Wed, 5 May 2021 15:40:14 +0200
Subject: [PATCH] add prefix to preproc_topics

---
 bin/preproc_topics.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/preproc_topics.sh b/bin/preproc_topics.sh
index a94600c..a0ac636 100755
--- a/bin/preproc_topics.sh
+++ b/bin/preproc_topics.sh
@@ -45,6 +45,7 @@ else
     RESEARCH_TOPICS="$2"
     RESEARCH_STAFF="$3"
     RESEARCH_WG="$4"
+    TOPIC_PREFIX="forschung/topics/"
     RESEARCH_TUHH="TUHH"
 fi
 
@@ -79,7 +80,7 @@ do
     cp -f $f $RESEARCH_BUILD/$filename
 
     #extract title of topic
-    title=`$RESEARCH_ROOT/bin/extract_title.sh $RESEARCH_BUILD/$filename`
+    title=`$RESEARCH_ROOT/bin/extract_title.sh $RESEARCH_BUILD/$filename $TOPIC_PREFIX`
     echo "Preprocessing topic $title"
 
     # append research topic to index
-- 
GitLab