1
1

Ticket #2947: fix quoting and message in "Delete tagged files..." in user menu.

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Этот коммит содержится в:
Yury V. Zaytsev 2013-01-07 16:03:41 +01:00 коммит произвёл Andrew Borodin
родитель 6777d5044f
Коммит be2883dc86

Просмотреть файл

@ -107,15 +107,15 @@ D Delete tagged files if a copy exists in the other directory.
for i in %t
do
if [ -f "%D/$i" ]; then
SUM1="`sum $i`"
SUM2="`sum %D/$i`"
SUM1="`sum \"$i\"`"
SUM2="`sum \"%D/$i\"`"
if [ "$SUM1" = "$SUM2" ]; then
rm "$i" && echo "${i}: DELETED."
else
echo "$i and %D/$i differ: NOT deleted."
fi
else
echo "%i has no copy in %D: NOT deleted."
echo "$i has no copy in %D: NOT deleted."
fi
done