summaryrefslogtreecommitdiffstats
path: root/gen.sh
diff options
context:
space:
mode:
authorTyler Davis <tyler@gluecode.net>2024-11-05 21:10:52 +0000
committerTyler Davis <tyler@gluecode.net>2024-11-05 21:10:52 +0000
commitab6cac1537088f785f2809f18c3490011a19fe55 (patch)
treec029eae6e9cdde30d965f7a4ccec3d5f68a532eb /gen.sh
parentbf321954b640f25ff0e084f03e87f4ff2a7b9613 (diff)
downloadjournal-ab6cac1537088f785f2809f18c3490011a19fe55.tar.gz
journal-ab6cac1537088f785f2809f18c3490011a19fe55.zip
add cmark check for gen.sh
Diffstat (limited to 'gen.sh')
-rwxr-xr-xgen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/gen.sh b/gen.sh
index 4ec4bb4..ff37905 100755
--- a/gen.sh
+++ b/gen.sh
@@ -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: