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:
parent
39224d94e3
commit
75abd8ab23
@ -68,9 +68,10 @@
|
|||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
(expect (assoc-ref inputs "expect")))
|
(expect (assoc-ref inputs "expect")))
|
||||||
(substitute* (string-append out "/bin/runtest")
|
(substitute* (string-append out "/bin/runtest")
|
||||||
(("expectbin=expect")
|
(("^mypath.*$" all)
|
||||||
(string-append "expectbin="
|
(string-append all
|
||||||
expect "/bin/expect")))))
|
"export PATH="
|
||||||
|
expect "/bin:$PATH\n")))))
|
||||||
%standard-phases))))
|
%standard-phases))))
|
||||||
(home-page
|
(home-page
|
||||||
"http://www.gnu.org/software/dejagnu/")
|
"http://www.gnu.org/software/dejagnu/")
|
||||||
|
Loading…
Reference in New Issue
Block a user