From 5f742c84d4d908bee8bf88b5c30a9e8ffe5cac0c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 9 Dec 2014 11:24:56 +0100 Subject: substitute-binary: Add missing newline in download progress report. Fixes . Reported by rekado . * guix/scripts/substitute-binary.scm (guix-substitute-binary) <--substitute>: Add 'newline' call. --- guix/scripts/substitute-binary.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guix/scripts/substitute-binary.scm b/guix/scripts/substitute-binary.scm index 0801057e39..9c96411630 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")) -- cgit 1.4.1