aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--distro/packages/dejagnu.scm7
1 files changed, 4 insertions, 3 deletions
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 @@
(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/")