summaryrefslogtreecommitdiff
path: root/Annex/Perms.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-24 17:21:04 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-24 17:21:04 -0400
commit11679ab89d2610693df6b4e48f28f54401539995 (patch)
tree2a28c19cbaecda0f807f973f52a05cf854b78ecd /Annex/Perms.hs
parent11408c021e834e98e61a2259c26d2957ea144d65 (diff)
hopefully fix a bug
Diffstat (limited to 'Annex/Perms.hs')
-rw-r--r--Annex/Perms.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Perms.hs b/Annex/Perms.hs
index b1bac5e23..b344de688 100644
--- a/Annex/Perms.hs
+++ b/Annex/Perms.hs
@@ -70,7 +70,7 @@ createAnnexDirectory dir = traverse dir [] =<< top
)
where
done = forM_ below $ \p -> do
- liftIO $ createDirectory p
+ liftIO $ createDirectoryIfMissing p
setAnnexPerm p
{- Blocks writing to the directory an annexed file is in, to prevent the