Changes by: Aleksey Nogin (nogin at metaprl.org)
Date: 2007-06-26 10:30:58 -0700 (Tue, 26 Jun 2007)
Revision: 11135
Log message:

      - Made the "exit n" Shell aliases work corrently again (only exit from the
       innermost Shell alias, not kill the whole shell session, as it started doing
       after the rev. 11110 fix to bug #679).
       I fixed this by using the ExitParentException idea outlined in
       http://lists.metaprl.org/pipermail/omake-devel/2007-June/000528.html
     
     - Pipelines like "(exit 5)" should not print a "Process group exception" error
       message; instead they should just return the appropriate exit code.
       The fix is simple - just catch the ExitExceptions in appropriate places.
     
     - Pipilines like "false || exit 5" should return the correct error code, not
       0. (This was broken in previous versions of OMake as well).
       My fix is to have Omake_shell_job.create_job execute the PipeCond pipelines
       in the current process. (Added a TODO comment to do the same with the
       right-hand-sides of the PipeCompose pipelines).
     
     - Updated the test suite to catch some of the above problems.
       Also updated the "omake clean" in the test directory to be a bit more
       thorough.

Changes  Path
+1 -1 omake-branches/0.9.8.x/lib/Pervasives.om
+1 -0 omake-branches/0.9.8.x/src/build/omake_build.ml
+3 -1 omake-branches/0.9.8.x/src/build/omake_rule.ml
+7 -2 omake-branches/0.9.8.x/src/builtin/omake_builtin_base.ml
+2 -0 omake-branches/0.9.8.x/src/env/omake_exn_print.ml
+1 -0 omake-branches/0.9.8.x/src/ir/omake_value_type.ml
+119 -100 omake-branches/0.9.8.x/src/shell/omake_shell_job.ml
+8 -1 omake-branches/0.9.8.x/test/OMakefile
+9 -6 omake-branches/0.9.8.x/test/shell/Test3/run.osh
+18 -0 omake-branches/0.9.8.x/test/shell/Test4/run.osh