From 577a4c6c4dcfbefd10d05032794a2d29d806896d Mon Sep 17 00:00:00 2001 From: KoenGoe Date: Wed, 2 Mar 2022 15:08:58 +0100 Subject: [PATCH] fix #361 build() passed filename to tee instead of file IO::File --- tools/bin/tmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bin/tmake b/tools/bin/tmake index 6a0b6a91..f8378317 100755 --- a/tools/bin/tmake +++ b/tools/bin/tmake @@ -110,7 +110,7 @@ sub build { unlink $outdir_log_tmp; print "logfile: $outdir_log\n"; - my $tee = IO::Tee->new(\*STDOUT, $outdir_log); + my $tee = IO::Tee->new(\*STDOUT, new IO::File(">>${outdir_log}")); print $tee "="x46,"\n"; print $tee "="x18,"BUILD PASS","="x18,"\n"; print $tee "="x46,"\n";