diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-09-18 13:24:42 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-09-18 13:24:42 +0000 |
commit | 4209f1c21de40eae4556cb2fa7b4590b9cf2e83b (patch) | |
tree | 1972c8957f463f0f1127eb5b89b528b883596769 /check | |
parent | 13975246c056b801ac8c2d22c9030caaf8af974c (diff) | |
parent | b4918e1d9696a092da8ca25b9f2d9f4b1fd22e2b (diff) | |
download | obnam2-4209f1c21de40eae4556cb2fa7b4590b9cf2e83b.tar.gz |
Merge branch 'chronicless' into 'main'
chore: make chronic (from moreutils) an optional build dependency
Closes #130
See merge request obnam/obnam!181
Diffstat (limited to 'check')
-rwxr-xr-x | check | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -5,6 +5,10 @@ set -eu hideok=chronic +if ! command -v chronic >/dev/null; then + hideok= +fi + if [ "$#" -gt 0 ]; then case "$1" in verbose | -v | --verbose) @@ -31,7 +35,6 @@ require_cmd cargo require_cmd python3 require_cmd subplot require_cmd summain -require_cmd chronic require_cmd pkg-config require_cmd pandoc require_cmd pdflatex |