LIB: fix bug in copyDir

This commit is contained in:
2016-04-03 14:34:24 +02:00
parent 9b03b36f2f
commit 2777d2d2e8

View File

@@ -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