Index: apps/build.tcl =================================================================== diff -u -ra16d90ccf60c21751766e6eda326b7e8fa8bc808 -r0da374a03f36609c62f5d3f9a260bc1cbc86343f --- apps/build.tcl (.../build.tcl) (revision a16d90ccf60c21751766e6eda326b7e8fa8bc808) +++ apps/build.tcl (.../build.tcl) (revision 0da374a03f36609c62f5d3f9a260bc1cbc86343f) @@ -60,7 +60,11 @@ # puts BUILDDIR=$BUILDDIR,PWD=[pwd],INSTALLDIR=$INSTALLDIR exec >@stdout 2>@stderr bash -lc "./configure --with-tcl=$tclDir" # exec >@stdout 2>@stderr bash -lc "./configure --prefix=$INSTALLDIR --exec-prefix=$INSTALLDIR --with-tcl=$tclDir" - exec >@stdout 2>@stderr bash -lc "make test" + try { + exec >@stdout 2>@stderr bash -lc "make test" + } trap CHILDSTATUS {- opts} { + puts ERRORCODE=[dict get $opts -errorcode] + } # exec >@stdout 2>@stderr bash -lc "make install" } nmake-tea {