From 62f7e4ad0e5f36112fe144563ccc38f130210b0d Mon Sep 17 00:00:00 2001 From: Ze'ev Schurmann Date: Tue, 19 Sep 2023 15:07:47 +0200 Subject: [PATCH] v 0.03 - Fixed a bug on batch run. Removed the double braces on line 54 and made them single braces. --- cbr2cbz.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cbr2cbz.sh b/cbr2cbz.sh index 40c586b..12bb5a0 100755 --- a/cbr2cbz.sh +++ b/cbr2cbz.sh @@ -2,7 +2,7 @@ function Help { echo "cbr2cbz Conversion Tool" - echo "Version 0.2" + echo "Version 0.3" echo "https://git.zaks.web.za/thisiszeev/cbr2cbz" echo echo 'Usage: cbr2cbz single "filename.cbr"' @@ -51,7 +51,7 @@ function Convert { function BatchRun { mkdir -p "/tmp/cbr2cbz" find . -type f -name "*.cbr" > /tmp/cbr2cbz.list - files=$(( cat /tmp/cbr2cbz.list | wc -l )) + files=$( cat /tmp/cbr2cbz.list | wc -l ) while read -r filename do cbr="$filename"