See if this works better
This commit is contained in:
parent
7c53043b63
commit
ef8508f5c6
6
qsgen2
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user