diff options
| Commit | 4409b3c0998d06ef3f06f40d1f691e8bf0328e2d (patch) | |
|---|---|---|
| Author | 2024-04-14 10:27:12 +0300 | |
| Committer | 2024-04-14 10:27:12 +0300 | |
| Files | 648889d47e13ce4ea99c94315c57b9701d82862d | |
| csg-4409b3c0998d06ef3f06f40d1f691e8bf0328e2d.tar csg-4409b3c0998d06ef3f06f40d1f691e8bf0328e2d.tar.gz csg-4409b3c0998d06ef3f06f40d1f691e8bf0328e2d.zip | ||
| Parent | 5cc370ceb60b8571de636b30e731e2aad97b3958 (diff) | |
[s2] Fixed error when timestamp.txt is disabled
1 files changed, 4 insertions, 1 deletions
| -rwxr-xr-x | csg | 5 |
@@ -253,7 +253,9 @@ $($CSG_AWK -v titlef="$TITLEF" ' EOF local created edited - { read -r created; read -r edited; } << EOF + if [ -f "$CSG_TIMESTAMP_FILE" ] + then + { read -r created; read -r edited; } << EOF $($CSG_AWK -v file="$outf" ' BEGIN { FS = "\t" } $1 == file { @@ -261,6 +263,7 @@ $($CSG_AWK -v file="$outf" ' exit }' "$CSG_TIMESTAMP_FILE") EOF + fi # Generate $CSG_MD_TO_HTML "$file" > "$outf" |
