diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-01-09 13:11:56 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-01-09 13:11:56 -0400 |
commit | 3bab5dfb1dbaee3a4048b9aff79c798ee18064b6 (patch) | |
tree | 1414b64a8cfc4429b7b0dc2a4be318fe95e0be94 /Remote/BitTorrent.hs | |
parent | 2fff78512d80c30d4ddb47ac64d99272092f2616 (diff) |
revert parentDir change
Reverts 965e106f242b34a8269c72e136f60fc0c36ae460
Unfortunately, this caused breakage on Windows, and possibly elsewhere,
because parentDir and takeDirectory do not behave the same when there is a
trailing directory separator.
Diffstat (limited to 'Remote/BitTorrent.hs')
-rw-r--r-- | Remote/BitTorrent.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/BitTorrent.hs b/Remote/BitTorrent.hs index b04abe56b9..d0a35fa307 100644 --- a/Remote/BitTorrent.hs +++ b/Remote/BitTorrent.hs @@ -189,7 +189,7 @@ downloadTorrentFile u = do , do showAction "downloading torrent file" showOutput - createAnnexDirectory (takeDirectory torrent) + createAnnexDirectory (parentDir torrent) if isTorrentMagnetUrl u then do tmpdir <- tmpTorrentDir u |