fix build of helper program

broken by ba7ecbc6a9

Sponsored-by: Svenne Krap on Patreon
This commit is contained in:
Joey Hess 2022-11-03 14:11:49 -04:00
parent 95405c067f
commit bc980815ee
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -24,7 +24,7 @@ import Annex.Content
import Annex.WorkTree
import Git.Command
import qualified Utility.RawFilePath as R
import Annex.Actions
import Annex.Action
import Data.Time.Clock
import Data.Char
@ -70,8 +70,9 @@ main = do
state <- Annex.new =<< Git.Construct.fromPath (toRawFilePath ".")
ood <- Annex.eval state $ do
buildrpms topdir updated
makeinfos updated version
is <- makeinfos updated version
quiesce False
return is
syncToArchiveOrg
unless (null ood) $
error $ "Some info files are out of date: " ++ show (map fst ood)