See if this works better
This commit is contained in:
		
							
								
								
									
										6
									
								
								qsgen2
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								qsgen2
									
									
									
									
									
								
							@@ -263,10 +263,12 @@ 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=false
 | 
					    local debug=true
 | 
				
			||||||
    # Create an associative array for the pages cache
 | 
					    # Create an associative array for the pages cache
 | 
				
			||||||
    typeset -A pages_cache
 | 
					    typeset -A pages_cache
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					    _list_pages
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
    # Load the existing pages cache
 | 
					    # Load the existing pages cache
 | 
				
			||||||
    if [[ -f $pages_cache_file ]]; then
 | 
					    if [[ -f $pages_cache_file ]]; then
 | 
				
			||||||
        while IFS=':' read -r name hash; do
 | 
					        while IFS=':' read -r name hash; do
 | 
				
			||||||
@@ -278,8 +280,6 @@ function _pages_cache() {
 | 
				
			|||||||
    # Initialize the array for storing pages files to process
 | 
					    # Initialize the array for storing pages files to process
 | 
				
			||||||
    pages_array=()
 | 
					    pages_array=()
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    _list_pages
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    # Process pages files
 | 
					    # Process pages files
 | 
				
			||||||
    for file in ${pages_file_array[@]}; do
 | 
					    for file in ${pages_file_array[@]}; do
 | 
				
			||||||
        # Compute the current blog file hash
 | 
					        # Compute the current blog file hash
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user