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"