diff options
author | Tyler Davis <tyler@gluecode.net> | 2024-11-05 21:10:52 +0000 |
---|---|---|
committer | Tyler Davis <tyler@gluecode.net> | 2024-11-05 21:10:52 +0000 |
commit | ab6cac1537088f785f2809f18c3490011a19fe55 (patch) | |
tree | c029eae6e9cdde30d965f7a4ccec3d5f68a532eb /gen.sh | |
parent | bf321954b640f25ff0e084f03e87f4ff2a7b9613 (diff) | |
download | journal-ab6cac1537088f785f2809f18c3490011a19fe55.tar.gz journal-ab6cac1537088f785f2809f18c3490011a19fe55.zip |
add cmark check for gen.sh
Diffstat (limited to 'gen.sh')
-rwxr-xr-x | gen.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,6 +4,10 @@ WORKDIR=$PWD OUTDIR=out verbose=0 # Variables to be evaluated as shell arithmetic should be initialized to a default or validated beforehand. +if [ ! "$(command -v cmark)" ]; then + echo "cmark not installed in $PATH" +fi + usage="$(basename "$0") [-h] [-v -w WORKDIR -f FILE] where: |