Browse Source

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.
gn-latest-20200428
Marius Bakke 2 years ago
parent
commit
388b432cea
No known key found for this signature in database GPG Key ID: A2A06DF2A33A54FA
  1. 2
      guix/scripts/deploy.scm

2
guix/scripts/deploy.scm

@ -102,7 +102,7 @@ Perform the deployment specified by FILE.\n"))
"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)

Loading…
Cancel
Save