Index: apps/build.tcl =================================================================== diff -u -r0da374a03f36609c62f5d3f9a260bc1cbc86343f -rae50ec690d8223471869d838b1535fe2417ccc86 --- apps/build.tcl (.../build.tcl) (revision 0da374a03f36609c62f5d3f9a260bc1cbc86343f) +++ apps/build.tcl (.../build.tcl) (revision ae50ec690d8223471869d838b1535fe2417ccc86) @@ -58,14 +58,20 @@ cd $BUILDDIR # 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 "./configure --with-tcl=$tclDir" + exec >@stdout 2>@stderr bash -lc "./configure --prefix=$INSTALLDIR --exec-prefix=$INSTALLDIR --with-tcl=$tclDir" try { exec >@stdout 2>@stderr bash -lc "make test" } trap CHILDSTATUS {- opts} { - puts ERRORCODE=[dict get $opts -errorcode] + puts TEST=$opts } - # exec >@stdout 2>@stderr bash -lc "make install" + + try { + exec >@stdout 2>@stderr bash -lc "make install" + } trap CHILDSTATUS {- opts} { + puts INSTALL=$opts + } + } nmake-tea { exec >@stdout 2>@stderr nmake -nologo -f makefile.vc TCLDIR=$tclRoot release