From a2ece561085aaa65e8bcb7887ab9eaa189af5b8a Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Mon, 22 Apr 2013 11:38:30 +0200 Subject: [PATCH] fix filepath for copied files --- lib/copy/copyFiles_matching | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/copy/copyFiles_matching b/lib/copy/copyFiles_matching index 7870cfe..64a3744 100644 --- a/lib/copy/copyFiles_matching +++ b/lib/copy/copyFiles_matching @@ -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" \