Fixed an error where a non space character in front of 1/2 would result in skipped download
This commit is contained in:
parent
3693dcd36a
commit
b3806feb7b
@ -87,7 +87,7 @@ do
|
|||||||
|
|
||||||
tADDED=$(sed -e 's/^"//' -e 's/"$//' <<<"$ADDED")
|
tADDED=$(sed -e 's/^"//' -e 's/"$//' <<<"$ADDED")
|
||||||
tDESC=$(sed -e 's/^"//' -e 's/"$//' <<<"$DESC")
|
tDESC=$(sed -e 's/^"//' -e 's/"$//' <<<"$DESC")
|
||||||
ttDESC=$(echo $tDESC | grep -Eo '\s[0-9]{1}\s?\/\s?[0-9]{1,2}' | sed 's/ //g' | sed 's/\//_of_/g')
|
ttDESC=$(echo $tDESC | grep -Eo '\D[0-9]{1}\s?\/\s?[0-9]{1,2}' | sed 's/ //g' | sed 's/\//_of_/g')
|
||||||
|
|
||||||
if [ -z "$ttDESC" ]; then
|
if [ -z "$ttDESC" ]; then
|
||||||
setDESC="_"
|
setDESC="_"
|
||||||
|
Loading…
Reference in New Issue
Block a user