gnu-maintenance: Fix error message of `update-package-source'.

* guix/gnu-maintenance.scm (update-package-source): In the (not loc)
  case, pass the location first and convert it to a string.
master
Ludovic Courtès 2013-04-27 22:52:43 +02:00
parent 4056b82882
commit c4ca12c15b
1 changed files with 2 additions and 1 deletions

View File

@ -438,6 +438,7 @@ if an update was made, and #f otherwise."
(begin
(format (current-error-port)
(_ "~a: ~a: no `version' field in source; skipping~%")
name (package-location package))))))
(location->string (package-location package))
name)))))
;;; gnu-maintenance.scm ends here