guix-commits
[Top][All Lists]
Advanced

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

01/04: substitute-binary: Add missing newline in download progress repor


From: Ludovic Courtès
Subject: 01/04: substitute-binary: Add missing newline in download progress report.
Date: Tue, 09 Dec 2014 10:46:06 +0000

civodul pushed a commit to branch master
in repository guix.

commit 5f742c84d4d908bee8bf88b5c30a9e8ffe5cac0c
Author: Ludovic Courtès <address@hidden>
Date:   Tue Dec 9 11:24:56 2014 +0100

    substitute-binary: Add missing newline in download progress report.
    
    Fixes <http://bugs.gnu.org/19313>.
    Reported by rekado <address@hidden>.
    
    * guix/scripts/substitute-binary.scm (guix-substitute-binary)
      <--substitute>: Add 'newline' call.
---
 guix/scripts/substitute-binary.scm |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/guix/scripts/substitute-binary.scm 
b/guix/scripts/substitute-binary.scm
index 0801057..9c96411 100755
--- a/guix/scripts/substitute-binary.scm
+++ b/guix/scripts/substitute-binary.scm
@@ -758,6 +758,10 @@ substituter disabled~%")
                                             progress)))
             ;; Unpack the Nar at INPUT into DESTINATION.
             (restore-file input destination)
+
+            ;; Skip a line after what 'progress-proc' printed.
+            (newline (current-error-port))
+
             (every (compose zero? cdr waitpid) pids))))
        (("--version")
         (show-version-and-exit "guix substitute-binary"))



reply via email to

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