From ef8508f5c60fdc1fdb4fa1216cde30a0ff721537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Thu, 1 Feb 2024 17:59:15 +0100 Subject: [PATCH] See if this works better --- qsgen2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index b068942..83f5710 100755 --- a/qsgen2 +++ b/qsgen2 @@ -263,10 +263,12 @@ function _blog_cache() { # PAGES CACHE # Returns the array pages_array() function _pages_cache() { - local debug=false + local debug=true # Create an associative array for the pages cache typeset -A pages_cache + _list_pages + # Load the existing pages cache if [[ -f $pages_cache_file ]]; then while IFS=':' read -r name hash; do @@ -278,8 +280,6 @@ function _pages_cache() { # Initialize the array for storing pages files to process pages_array=() - _list_pages - # Process pages files for file in ${pages_file_array[@]}; do # Compute the current blog file hash