fix build
This commit is contained in:
parent
17c92fcae5
commit
21ab496f6b
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ main = do
|
||||||
topdir <- getCurrentDirectory
|
topdir <- getCurrentDirectory
|
||||||
changeWorkingDirectory repodir
|
changeWorkingDirectory repodir
|
||||||
updated <- catMaybes <$> mapM (getbuild repodir) autobuilds
|
updated <- catMaybes <$> mapM (getbuild repodir) autobuilds
|
||||||
state <- Annex.new =<< Git.Construct.fromPath "."
|
state <- Annex.new =<< Git.Construct.fromPath (toRawFilePath ".")
|
||||||
ood <- Annex.eval state $ do
|
ood <- Annex.eval state $ do
|
||||||
buildrpms topdir updated
|
buildrpms topdir updated
|
||||||
makeinfos updated version
|
makeinfos updated version
|
||||||
|
@ -84,7 +84,7 @@ getbuild repodir (url, f) = do
|
||||||
let dest = repodir </> f
|
let dest = repodir </> f
|
||||||
let tmp = dest ++ ".tmp"
|
let tmp = dest ++ ".tmp"
|
||||||
removeWhenExistsWith removeFile tmp
|
removeWhenExistsWith removeFile tmp
|
||||||
createDirectoryIfMissing True (parentDir dest)
|
createDirectoryIfMissing True (fromRawFilePath (parentDir (toRawFilePath dest)))
|
||||||
let oops s = do
|
let oops s = do
|
||||||
removeWhenExistsWith removeFile tmp
|
removeWhenExistsWith removeFile tmp
|
||||||
putStrLn $ "*** " ++ s
|
putStrLn $ "*** " ++ s
|
||||||
|
|
Loading…
Reference in a new issue