[chronojump] cont of last commit
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] cont of last commit
- Date: Thu, 3 Jun 2021 15:20:12 +0000 (UTC)
commit fdbff6f7c54beec14e05a486aa669214601abe57
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Jun 3 17:20:00 2021 +0200
cont of last commit
src/exportFiles/exportFiles.cs | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/exportFiles/exportFiles.cs b/src/exportFiles/exportFiles.cs
index 8804a0b93..4f5eb44eb 100644
--- a/src/exportFiles/exportFiles.cs
+++ b/src/exportFiles/exportFiles.cs
@@ -197,7 +197,10 @@ public abstract class ExportFiles
Directory.CreateDirectory (destFolderURL);
foreach (FileInfo file in sourceDirInfo.GetFiles())
- file.CopyTo(destFolderURL, true);
+ {
+ file.CopyTo(Path.Combine(destFolderURL, file.Name), true);
+ //note CopyTo needs a fully qualified name (on my linux machine, a folder
works, but not in others)
+ }
} catch {
return false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]