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.
This commit is contained in:
Ludovic Courtès 2013-01-12 23:00:32 +01:00
parent 39224d94e3
commit 75abd8ab23
1 changed files with 4 additions and 3 deletions

View File

@ -68,9 +68,10 @@
(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/")