diff options
Diffstat (limited to 'Build/DistributionUpdate.hs')
-rw-r--r-- | Build/DistributionUpdate.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/DistributionUpdate.hs b/Build/DistributionUpdate.hs index 2058f4be4..d7fb373c8 100644 --- a/Build/DistributionUpdate.hs +++ b/Build/DistributionUpdate.hs @@ -64,7 +64,7 @@ getbuild repodir (url, f) = do let dest = repodir </> f let tmp = dest ++ ".tmp" nukeFile tmp - createDirectoryIfMissing True (parentDir dest) + createDirectoryIfMissing True (takeDirectory dest) let oops s = do nukeFile tmp putStrLn $ "*** " ++ s |