diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-12-09 11:24:56 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-12-09 11:24:56 +0100 |
commit | 5f742c84d4d908bee8bf88b5c30a9e8ffe5cac0c (patch) | |
tree | 9870800b787f4bbd3af4740144cae076b8da3878 | |
parent | 6412e58a6843aaec573a65bacf58308ac4ee9035 (diff) | |
download | guix-5f742c84d4d908bee8bf88b5c30a9e8ffe5cac0c.tar.gz |
substitute-binary: Add missing newline in download progress report.
Fixes <http://bugs.gnu.org/19313>. Reported by rekado <rekado@elephly.net>. * guix/scripts/substitute-binary.scm (guix-substitute-binary) <--substitute>: Add 'newline' call.
-rwxr-xr-x | 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 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")) |