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.
This commit is contained in:
Ludovic Courtès 2013-04-27 22:52:43 +02:00
parent 4056b82882
commit c4ca12c15b

View file

@ -438,6 +438,7 @@ (define (update-source file old-version version
(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