From 881b2e9b7bad0da8f44418e9e6558710db5ce690 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 7 Jan 2020 17:10:05 +0000 Subject: [PATCH] In debug mode (-d) print all shell scripts executed. --- src/eval.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/eval.ml b/src/eval.ml index b614ddc..4589a40 100644 --- a/src/eval.ml +++ b/src/eval.ml @@ -186,6 +186,7 @@ and run_code_to_string_list env loc code = i, lines and prepare_code env loc (code, quiet) = + let quiet = if Cmdline.debug_flag then false else quiet in let code = to_shell_script env loc code in "source " ^ Filename.quote Cmdline.prelude_sh_file ^ "\n" ^ "set -e\n" ^ -- 1.8.3.1