fix build

This commit is contained in:
Joey Hess 2020-05-01 19:05:35 -04:00
parent d2026a5351
commit 4489756e4e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -115,7 +115,7 @@ getbuild repodir (url, f) = do
return $ if null bv || any (not . versionchar) bv then Nothing else Just bv
versionchar c = isAlphaNum c || c == '.' || c == '-'
makeinfos :: [(FilePath, Version)] -> Version -> Annex ()
makeinfos :: [(FilePath, Version)] -> Version -> Annex [([Char], Maybe GitAnnexDistribution)]
makeinfos updated version = do
mapM_ (\f -> inRepo $ runBool [Param "annex", Param "add", File f]) (map fst updated)
void $ inRepo $ runBool