guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: icecat: Fix off-by-one error in "Retrying build" message.


From: guix-commits
Subject: 01/01: gnu: icecat: Fix off-by-one error in "Retrying build" message.
Date: Wed, 23 Oct 2019 15:07:27 -0400 (EDT)

mhw pushed a commit to branch wip-icecat-68
in repository guix.

commit 338c14c093cda5336eb963fdf9ff99e9841055c2
Author: Mark H Weaver <address@hidden>
Date:   Wed Oct 23 15:03:07 2019 -0400

    gnu: icecat: Fix off-by-one error in "Retrying build" message.
    
    * gnu/packages/gnuzilla.scm (icecat)[arguments]: In the custom 'build' 
phase,
    fix an off-by-one error in the number of remaining attempts when printing 
the
    "Retrying build" message.
---
 gnu/packages/gnuzilla.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 81d640f..fd579f0 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1031,7 +1031,7 @@ from forcing GEXP-PROMISE."
                      (apply build args)
                      (guard (c ((invoke-error? c)
                                 (format #t "~%Retrying build! (~a attempts 
remaining)~%~%"
-                                        remaining-attempts)
+                                        (- remaining-attempts 1))
                                 (force-output)
                                 (retry (- remaining-attempts 1))))
                        (apply build args)))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]