LIB: fix throwSameFile in copyDir

This commit is contained in:
Julian Ospald 2016-04-03 17:13:45 +02:00
parent b66e12cc9e
commit 2609338f6e
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

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 top
throwSameFile fromp destdirp
throwCantOpenDirectory fromp
throwCantOpenDirectory top