gnu: ghostscript: Make sure phases don't fail.

* gnu/packages/ghostscript.scm (ghostscript)[arguments]: Wrap 'system*'
  calls in (zero? ...).
This commit is contained in:
Ludovic Courtès 2015-04-05 10:44:02 +02:00
parent 3e462da5c1
commit 85345684d6

View file

@ -151,10 +151,12 @@ (define-public ghostscript
(("/bin/sh") (which "bash"))))
(alist-cons-after
'build 'build-so
(lambda _ (system* "make" "so"))
(lambda _
(zero? (system* "make" "so")))
(alist-cons-after
'install 'install-so
(lambda _ (system* "make" "install-so"))
(lambda _
(zero? (system* "make" "install-so")))
%standard-phases)))))
(synopsis "PostScript and PDF interpreter")
(description