fix filepath for copied files

This commit is contained in:
Vincent Riquer 2013-04-22 11:38:30 +02:00
parent 5c115e1f37
commit a2ece56108

View File

@ -8,9 +8,10 @@ copyFiles_matching() {
|| cp -a \
"$sourcepath/$filename" \
"$destdir/$destfile.$extension"
echo \
echo \
"UPDATE destination_files" \
"SET filename=\"${filename//\"/\"\"}\"," \
"SET filename=" \
"\"${destdir//\"/\"\"}/${destfile//\"/\"\"}.$extension\"," \
" last_change=(" \
" SELECT last_change" \
" FROM source_files" \