From d2e6276d357270f1c496c41f9aee43ce4c877495 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Thu, 8 Sep 2016 09:02:13 +0000 Subject: [PATCH] Fixed usage message and output improvements. --- check_modules.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/check_modules.sh b/check_modules.sh index 18d3e1f..0e115d1 100755 --- a/check_modules.sh +++ b/check_modules.sh @@ -6,10 +6,8 @@ # function print_usage() { - echo <> $logfile cat $module_clean_env_file >> $logfile echo "--------------------" >> $logfile @@ -77,8 +77,9 @@ do for exclude_pattern in ${exclude_patterns[@]} do if [[ "$m_original" =~ "$exclude_pattern" ]]; then - echo MATCH: $exclude_pattern + echo -e "Skipping $m_original (matches $exclude_pattern) ... ${IMagenta} skipped${Color_Off}" match=1 + continue fi done if [ $match == 1 ]; then