From cd689b768f86707354645a65bc920eb87659fb6d Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 2 Jul 2012 15:52:02 +0200 Subject: Dont use spaces for chapters directories Allows us to generate xml with makefiles, which will allow parallel operation. --- download-chapters.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'download-chapters.sh') diff --git a/download-chapters.sh b/download-chapters.sh index ba29d8e..facaeeb 100755 --- a/download-chapters.sh +++ b/download-chapters.sh @@ -12,6 +12,7 @@ do echo $url echo "$buch $number" - curl $url > "chapters/$buch/$number" + buchdir=$(echo "$buch" | sed "s/ /_/g") + curl $url > "chapters/$buchdir/$number" done done -- cgit