summary refs log tree commit diff
path: root/distro/packages/lsh.scm
diff options
context:
space:
mode:
Diffstat (limited to 'distro/packages/lsh.scm')
-rw-r--r--distro/packages/lsh.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/distro/packages/lsh.scm b/distro/packages/lsh.scm
index fa19d3e1c5..d2c2d9082d 100644
--- a/distro/packages/lsh.scm
+++ b/distro/packages/lsh.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -114,8 +114,7 @@
           (substitute* "src/testsuite/login-auth-test"
             (("/bin/cat")
              ;; Use the right path to `cat'.
-             (search-path (search-path-as-string->list (getenv "PATH"))
-                          "cat"))))
+             (which "cat"))))
         %standard-phases)))
     (home-page "http://www.lysator.liu.se/~nisse/lsh/")
     (synopsis