summary refs log tree commit diff
path: root/gnu/packages/ghostscript.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-05 10:44:02 +0200
committerLudovic Courtès <ludo@gnu.org>2015-04-05 10:44:02 +0200
commit85345684d6b6ec1e3587a4a4e274463ba87a7968 (patch)
tree0637855707a37a7620eeacae37bc2cd0928792f4 /gnu/packages/ghostscript.scm
parent3e462da5c1c48c43f6da95cba6237e24452b2d6c (diff)
downloadguix-85345684d6b6ec1e3587a4a4e274463ba87a7968.tar.gz
gnu: ghostscript: Make sure phases don't fail.
* gnu/packages/ghostscript.scm (ghostscript)[arguments]: Wrap 'system*'
  calls in (zero? ...).
Diffstat (limited to 'gnu/packages/ghostscript.scm')
-rw-r--r--gnu/packages/ghostscript.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index c63e0415b4..0d45a992b2 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -151,10 +151,12 @@ printing, and psresize, for adjusting page sizes.")
            (("/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