guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: gnu: guile-ssh: Correct post-installation test.


From: Ludovic Courtès
Subject: 01/06: gnu: guile-ssh: Correct post-installation test.
Date: Sun, 08 Feb 2015 18:01:05 +0000

civodul pushed a commit to branch master
in repository guix.

commit 843b196287eee1fb1f4a54fbb3a66b7a36fc89f2
Author: Ludovic Courtès <address@hidden>
Date:   Sun Feb 8 01:32:53 2015 +0100

    gnu: guile-ssh: Correct post-installation test.
    
    * gnu/packages/ssh.scm (guile-ssh)[arguments]
      <fix-libguile-ssh-file-name>: Call 'zero?' to check the return value of
      'system*'.
---
 gnu/packages/ssh.scm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 7cdc305..3d058b1 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -216,7 +216,8 @@ Additionally, various channel-specific options can be 
negotiated.")
                       ;; Make sure it works.
                       (setenv "GUILE_LOAD_PATH" guiledir)
                       (setenv "GUILE_LOAD_COMPILED_PATH" guiledir)
-                      (system* "guile" "-c" "(use-modules (ssh session))")))
+                      (zero?
+                       (system* "guile" "-c" "(use-modules (ssh session))"))))
                   %standard-phases))
        #:configure-flags (list (string-append "--with-guilesitedir="
                                               (assoc-ref %outputs "out")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]