[pkg-haskell-tools] 01/01: Use putNormal, not fail
Joachim Breitner
nomeata at moszumanska.debian.org
Mon Aug 17 13:31:30 UTC 2015
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to branch master
in repository pkg-haskell-tools.
commit 6d921e6916643b1a60370f2b2f19fb032157ca61
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Sun Aug 16 20:44:43 2015 +0200
Use putNormal, not fail
---
src/make-all.hs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/make-all.hs b/src/make-all.hs
index 19f2275..c7778d8 100644
--- a/src/make-all.hs
+++ b/src/make-all.hs
@@ -341,7 +341,9 @@ shakeMain conf@(Conf {..}) = do
let logfile = targetDir </> logFileName source version
need [logfile]
ok <- doesFileExist out
- unless ok $ fail $ "Building " ++ source ++ " failed, remove " ++ logfile ++ " to retry."
+ unless ok $ do
+ putNormal $ "Building " ++ source ++ " failed, remove " ++ logfile ++ " to retry."
+ fail ""
-- Build log depends on the corresponding source, and the dependencies
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/pkg-haskell-tools.git
More information about the Pkg-haskell-commits
mailing list