aboutsummaryrefslogtreecommitdiff
path: root/autoconf/tea/teaish.tester.tcl.in
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf/tea/teaish.tester.tcl.in')
-rw-r--r--autoconf/tea/teaish.tester.tcl.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/autoconf/tea/teaish.tester.tcl.in b/autoconf/tea/teaish.tester.tcl.in
index 802f1d975..4e203cd78 100644
--- a/autoconf/tea/teaish.tester.tcl.in
+++ b/autoconf/tea/teaish.tester.tcl.in
@@ -17,7 +17,9 @@
@TEAISH_VSATISFIES_CODE@
@endif
if {[llength [lindex $::argv 0]] > 0} {
- load [lindex $::argv 0] [lindex $::argv 1];
+ load [file normalize [lindex $::argv 0]] [lindex $::argv 1];
+ # ----^^^^^^^ needed on Haiku when argv 0 is just a filename, else
+ # load cannot find the file.
}
source -encoding utf-8 [lindex $::argv 2]; # teaish/tester.tcl
@if TEAISH_PKGINIT_TCL