v0.02 - Fixed a bug in single mode where it was passing the command single as the filename.

This commit is contained in:
Ze'ev Schurmann 2023-09-19 15:03:27 +02:00
parent b7b1e3ddab
commit 5492297657
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
function Help {
echo "cbr2cbz Conversion Tool"
echo "Version 0.1"
echo "Version 0.2"
echo "https://git.zaks.web.za/thisiszeev/cbr2cbz"
echo
echo 'Usage: cbr2cbz single "filename.cbr"'
@ -79,7 +79,7 @@ then
echo "If filename has spaces or special characters please pass it within quotes."
Help
fi
cbr=$1
cbr=$2
size=$(( ${#cbr} - 1 ))
cbz="${cbr:0:$size}z"
mkdir -p "/tmp/cbr2cbz"