From b3ebffc023e63c6dbe1e7f8ee5426a8a99e045b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Fri, 2 Feb 2024 12:36:11 +0100 Subject: [PATCH] Disable debugging --- qsgen2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qsgen2 b/qsgen2 index 4ed7544..0cce3ed 100755 --- a/qsgen2 +++ b/qsgen2 @@ -169,7 +169,7 @@ elif [[ ${generator} == "markdown" ]]; then export file_ext=md fi fi -debug=true + if (${debug}) _msg debug "Using the ${generator} engine for files: ${file_ext}" # Define cache files for blogs and pages @@ -185,7 +185,7 @@ export blogdate=$( date +%a-%Y-%b-%d ) # Let's create arrays of all the files we'll be working on function _list_pages() { - local debug=true + local debug=false export no_pages_found=false @@ -278,7 +278,7 @@ function _blog_cache() { # PAGES CACHE # Returns the array pages_array() function _pages_cache() { - local debug=true + local debug=false # Create an associative array for the pages cache typeset -A pages_cache @@ -373,7 +373,7 @@ function _file_to_lower() { function _pages() { # This function generates all the new and updated Pages - local debug=true + local debug=false # Load the cache for Pages if (${debug}) _msg debug "_pages: Running function _pages_cache"