From 75abd8ab2397f30f9aebba8c014749cc84dcf69e Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 12 Jan 2013 23:00:32 +0100 Subject: distro: dejagnu: Add `expect' in the search path of `runtest'. * distro/packages/dejagnu.scm (dejagnu): In `check' phase, change `PATH' in `runtest', to avoid "expect not found in PATH" error. --- distro/packages/dejagnu.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'distro') diff --git a/distro/packages/dejagnu.scm b/distro/packages/dejagnu.scm index bb735bfe37..f350f8a973 100644 --- a/distro/packages/dejagnu.scm +++ b/distro/packages/dejagnu.scm @@ -68,9 +68,10 @@ (define-public dejagnu (let ((out (assoc-ref outputs "out")) (expect (assoc-ref inputs "expect"))) (substitute* (string-append out "/bin/runtest") - (("expectbin=expect") - (string-append "expectbin=" - expect "/bin/expect"))))) + (("^mypath.*$" all) + (string-append all + "export PATH=" + expect "/bin:$PATH\n"))))) %standard-phases)))) (home-page "http://www.gnu.org/software/dejagnu/") -- cgit v1.2.3