@@ -50,15 +50,15 @@ (scriptn (conc "ez_" stepname))) ;; remember the name already has an extension .sh, .csh etc. (with-output-to-file scriptn (lambda () ;; the shebang line (print "#!" shellexe) - ;; first setup the source of the previous changes + ;; save the env at start + (print "megatest -envcap "stepname"_start "envdbf) + ;; source vars from previous steps (if (file-exists? sourcef) (print "source " sourcef)) - ;; save the env at start - (print "megatest -envcap "stepname"_start "envdbf) ;; run the command (print cmd) (if (eq? mode 'csh) (print "set ecode=$?") (print "ecode=$?"))