diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-07-02 15:52:02 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-07-02 15:52:02 +0200 |
commit | cd689b768f86707354645a65bc920eb87659fb6d (patch) | |
tree | 85a42c780416d5088ab142f45a8aa8510bb25e0e /download-chapters.sh | |
parent | 3e1ce9c869a7b941ac17ed09a3986502f281e0ff (diff) | |
download | bible-fetch-cd689b768f86707354645a65bc920eb87659fb6d.tar.gz bible-fetch-cd689b768f86707354645a65bc920eb87659fb6d.tar.bz2 bible-fetch-cd689b768f86707354645a65bc920eb87659fb6d.zip |
Dont use spaces for chapters directories
Allows us to generate xml with makefiles,
which will allow parallel operation.
Diffstat (limited to 'download-chapters.sh')
-rwxr-xr-x | download-chapters.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |