Disable debugging

This commit is contained in:
Stig-Ørjan Smelror 2024-02-02 12:36:11 +01:00
parent 23712c5814
commit b3ebffc023

8
qsgen2
View File

@ -169,7 +169,7 @@ elif [[ ${generator} == "markdown" ]]; then
export file_ext=md export file_ext=md
fi fi
fi fi
debug=true
if (${debug}) _msg debug "Using the ${generator} engine for files: ${file_ext}" if (${debug}) _msg debug "Using the ${generator} engine for files: ${file_ext}"
# Define cache files for blogs and pages # 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 # Let's create arrays of all the files we'll be working on
function _list_pages() { function _list_pages() {
local debug=true local debug=false
export no_pages_found=false export no_pages_found=false
@ -278,7 +278,7 @@ function _blog_cache() {
# PAGES CACHE # PAGES CACHE
# Returns the array pages_array() # Returns the array pages_array()
function _pages_cache() { function _pages_cache() {
local debug=true local debug=false
# Create an associative array for the pages cache # Create an associative array for the pages cache
typeset -A pages_cache typeset -A pages_cache
@ -373,7 +373,7 @@ function _file_to_lower() {
function _pages() { function _pages() {
# This function generates all the new and updated Pages # This function generates all the new and updated Pages
local debug=true local debug=false
# Load the cache for Pages # Load the cache for Pages
if (${debug}) _msg debug "_pages: Running function _pages_cache" if (${debug}) _msg debug "_pages: Running function _pages_cache"