@node News
@unnumbered News
+@anchor{Release 1.4.0}
+@section Release 1.4.0
+@itemize
+@item
+ Fixed proper @option{-xx} and @env{REDO_TRACE} workability, that
+ previously was not applied to all targets.
+@item
+ Updated dependant libraries.
+@end itemize
+
@anchor{Release 1.3.0}
@section Release 1.3.0
@itemize
if *flagTraceAll {
mustSetenv(EnvTrace, "1")
}
- if *flagTrace {
+ if os.Getenv(EnvTrace) == "1" {
+ TracedAll = true
traced = true
} else {
- traced = os.Getenv(EnvTrace) == "1"
+ traced = *flagTrace
}
// Those are internal envs
flagTraceAll = flag.Bool("xx", false, fmt.Sprintf("trace (sh -x) all targets (%s=1)", EnvTrace))
flagStderrKeep = flag.Bool("logs", false, fmt.Sprintf("keep job's stderr (%s=1)", EnvStderrKeep))
flagStderrSilent = flag.Bool("silent", false, fmt.Sprintf("do not print job's stderr (%s=1)", EnvStderrSilent))
+
+ TracedAll bool
)
type RunErr struct {
args = make([]string, 0, 3)
} else {
cmdName = "/bin/sh"
- if traced {
+ if traced || TracedAll {
args = append(args, "-ex")
} else {
args = append(args, "-e")