Minor order of operations changes and var name consistency (lower-case)

This commit is contained in:
Sam Hardeman 2025-09-23 02:20:12 +02:00
parent 03303c9e36
commit 434a50987e
9 changed files with 236 additions and 208 deletions

4
cdz
View file

@ -48,8 +48,8 @@ israr=$?
# TAR archives come in many forms, if none of our tests say it's tar
# ...but it looks like tar and barks like tar, let's take the shot.
# Seems to work fairly well for the record.
RES=$(echo "$target" | grep ".tar")
if [[ $RES != "" ]];
res=$(echo "$target" | grep ".tar")
if [[ $res != "" ]];
then
istar=0
fi