summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-02-13 21:44:01 +0100
committerFlorian Pritz <bluewind@xinu.at>2014-02-13 21:44:01 +0100
commit6a52d4a990dc3afeb3201a4227b53efab7a94a79 (patch)
tree13570e6d540ff198c7cb9c0b2c20a52f9a77a1ed
parent12d465e69bb9fd6cc0fc53a1d3e0714fe8862aa0 (diff)
downloadbin-6a52d4a990dc3afeb3201a4227b53efab7a94a79.tar.gz
bin-6a52d4a990dc3afeb3201a4227b53efab7a94a79.tar.xz
split-kochabo.sh: fix wrong description
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xsplit-kochabo.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/split-kochabo.sh b/split-kochabo.sh
index 16a5b6c..7693f91 100755
--- a/split-kochabo.sh
+++ b/split-kochabo.sh
@@ -115,7 +115,8 @@ EOF
for i in extracted/*.jpg; do
n=${i%.jpg}
- echo "<div class='thumbnail'><a href='$n.pdf'><img src='$n.jpg'></a><p>$n</p></div>" >> "$output"
+ bn=${n##*/}
+ echo "<div class='thumbnail'><a href='$n.pdf'><img src='$n.jpg'></a><p>$bn</p></div>" >> "$output"
done
cat <<EOF >>"$output"