From db37cacd49850bb0e52e53c45a3097d5046bfe9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Wed, 14 Feb 2024 17:34:13 +0100 Subject: [PATCH] qsgen2: Silly bug... --- qsgen2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index 16d6f2b..5891f90 100755 --- a/qsgen2 +++ b/qsgen2 @@ -131,6 +131,10 @@ elif [[ "$1" == "help" || "$1" == "-h" || "$1" == "--help" ]]; then _help ${0:t} fi +# Define cache files for blogs and pages +blog_cache_file="${project_dir}/.blog_cache" +pages_cache_file="${project_dir}/.pages_cache" + case ${1} in force) _msg sub "_qsgen2_msg_2" @@ -176,9 +180,6 @@ builtin cd ${project_dir} # Let's put these here for now. export today=$(strftime "%Y-%m-%d - %T") export blogdate=$(strftime "%a-%Y-%b-%d") -# Define cache files for blogs and pages -blog_cache_file="${project_dir}/.blog_cache" -pages_cache_file="${project_dir}/.pages_cache" # Let's create arrays of all the files we'll be working on