toys/cleandestinations: handle special chars correctly

This commit is contained in:
Vincent Riquer 2013-05-04 01:38:48 +02:00
parent 8b3f121179
commit 0d511b2674

View File

@ -61,7 +61,7 @@ checkwanted() {
for destination in "${!destinationpath[@]}"
do
echo -ne "\rScanning destination $destination... \033[K"
while read filename
while read -r filename
do
if ! Select destination_files id \
>/dev/null \