summaryrefslogtreecommitdiff
path: root/concat.sh
diff options
context:
space:
mode:
Diffstat (limited to 'concat.sh')
-rwxr-xr-xconcat.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/concat.sh b/concat.sh
index 30e4f13..ff3baa3 100755
--- a/concat.sh
+++ b/concat.sh
@@ -13,7 +13,7 @@ do
buchdir=$(echo "$buch" | sed "s/ /_/g")
i=1
- while [ -e "chapters/$buchdir/$i" ]
+ while [ -e "chapters/$buchdir/$i.xml" ]
do
cat "chapters/$buchdir/$i.xml" | sed 1d
i=$((i+1))