fix build after Utility.Url changes

This commit is contained in:
Joey Hess 2019-11-14 22:25:06 -04:00
parent 4ab1f3ff02
commit 85c5e51c53
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -26,6 +26,7 @@ import Git.Command
import Data.Time.Clock
import Data.Char
import Data.Either
import System.Posix.Directory
-- git-annex distribution signing key (for Joey Hess)
@ -86,7 +87,7 @@ getbuild repodir (url, f) = do
putStrLn $ "*** " ++ s
return Nothing
uo <- defUrlOptions
ifM (download nullMeterUpdate url tmp uo)
ifM (isRight <$> download nullMeterUpdate url tmp uo)
( ifM (liftIO $ virusFree tmp)
( do
bv2 <- getbv