FIX copy extensions regex

This commit is contained in:
Vincent Riquer 2025-01-30 03:25:03 +01:00
parent 91939c0614
commit 68162e8b95

2
atom
View File

@ -642,7 +642,7 @@ do
getDestFile getDestFile
for copy_ext in "${destinationcopyext[@]}" for copy_ext in "${destinationcopyext[@]}"
do do
if [[ $filename =~ '.*\.'$copy_ext'$' ]] if [[ $filename =~ '.*'"$copy_ext" ]]
then then
copied=1 copied=1
break break