projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ab1f3f
)
fix build after Utility.Url changes
author
Joey Hess
<joeyh@joeyh.name>
Fri, 15 Nov 2019 02:25:06 +0000
(22:25 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Fri, 15 Nov 2019 02:25:06 +0000
(22:25 -0400)
Build/DistributionUpdate.hs
patch
|
blob
|
history
diff --git
a/Build/DistributionUpdate.hs
b/Build/DistributionUpdate.hs
index 976477ce4368ca4be73168f712f25681ad0aebd6..0efe02fb68ab3e2513f459bea92723e37dd9d9a1 100644
(file)
--- a/
Build/DistributionUpdate.hs
+++ b/
Build/DistributionUpdate.hs
@@
-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