diff options
author | Joey Hess <joey@kitenet.net> | 2013-06-18 14:08:35 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-06-18 14:08:35 -0400 |
commit | d159859049e2354bd16308a71038e6e6e44a1f53 (patch) | |
tree | 7dc5334167a1b39039ed569a11c4e2451dc39dfc /Test.hs | |
parent | ce2b33835a1572a0296e6b0ad49711346bc11694 (diff) |
couple path separator fixes
Diffstat (limited to 'Test.hs')
-rw-r--r-- | Test.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1102,13 +1102,13 @@ tmpdir :: String tmpdir = ".t" mainrepodir :: FilePath -mainrepodir = tmpdir ++ "/repo" +mainrepodir = tmpdir </> "repo" tmprepodir :: IO FilePath tmprepodir = go (0 :: Int) where go n = do - let d = tmpdir ++ "/tmprepo" ++ show n + let d = tmpdir </> "tmprepo" ++ show n ifM (doesDirectoryExist d) ( go $ n + 1 , return d |