deploy: Remove use of '~*' in format string.

...since 'msgfmt' fails to interpret it.  Reported by Vagrant Cascadian
in <https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00340.html>.
See also <https://bugs.gnu.org/37505>.

* guix/scripts/deploy.scm (show-what-to-deploy): Use ~d instead of ~* when
displaying machines that will be deployed.
This commit is contained in:
Marius Bakke 2020-03-28 15:55:13 +01:00
parent 54cf5e2a35
commit 388b432cea
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -102,7 +102,7 @@ (define (show-what-to-deploy machines)
"Show the list of machines to deploy, MACHINES."
(let ((count (length machines)))
(format (current-error-port)
(N_ "The following ~*machine will be deployed:~%"
(N_ "The following ~d machine will be deployed:~%"
"The following ~d machines will be deployed:~%"
count)
count)