From e2da9be6dfa07f9e50f5669fb40b5a2ebb9e03d8 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sun, 25 Nov 2018 18:38:48 +0100 Subject: [PATCH] Improve verbosity. --- stage3-preclean-chroot.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/stage3-preclean-chroot.sh b/stage3-preclean-chroot.sh index 75916ab..f8cb194 100644 --- a/stage3-preclean-chroot.sh +++ b/stage3-preclean-chroot.sh @@ -4,7 +4,14 @@ export RUN_DEFAULT_FUNCS="no" source /tmp/chroot-functions.sh -perl-cleaner --reallyall +if [[ "${clst_VERBOSE}" == "true" ]]; then + clst_perlcleaneropts="--verbose" +else + clst_perlcleaneropts="--quiet" +fi + +echo "Running perl-cleaner." +perl-cleaner ${clst_perlcleaneropts} --reallyall update_env_settings show_debug