From 2777d2d2e85e131474080414d6eaab771ef61b6f Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 3 Apr 2016 14:34:24 +0200 Subject: [PATCH] LIB: fix bug in copyDir --- src/HSFM/FileSystem/FileOperations.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HSFM/FileSystem/FileOperations.hs b/src/HSFM/FileSystem/FileOperations.hs index 32d7b93..c22a546 100644 --- a/src/HSFM/FileSystem/FileOperations.hs +++ b/src/HSFM/FileSystem/FileOperations.hs @@ -174,7 +174,7 @@ copyDir cm from@(_ :/ Dir fromn FileInfo{ fileMode = fmode }) top = fullPath to destdirp = top P. fromn throwDestinationInSource fromp destdirp - throwSameFile fromp destdirp + throwSameFile fromp top throwCantOpenDirectory fromp throwCantOpenDirectory top