diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-06 10:57:43 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-06 10:57:43 +0000 |
commit | 800d2d2c54e5945bf0f9f81ab396e815d5a02f15 (patch) | |
tree | a08213cce8ac1c4e6dc48c2174a96007f0741dbd /regress | |
parent | cbb95644f4f29dc2eeced60e1e0eb4e078df2d8d (diff) | |
download | mandoc-800d2d2c54e5945bf0f9f81ab396e815d5a02f15.tar.gz |
Have regress.sh bail out if $MANDOC isn't found.
Diffstat (limited to 'regress')
-rwxr-xr-x | regress/regress.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/regress/regress.sh b/regress/regress.sh index 24048b34..1e17f3a8 100755 --- a/regress/regress.sh +++ b/regress/regress.sh @@ -4,6 +4,12 @@ MANDOC=${MANDOC:-../mandoc} NROFF=${NROFF:-nroff} OUTPUT=${NROFF_OUTPUT:--Tascii} +if [ ! -x $MANDOC ] +then + echo "regress.sh: command not found: $MANDOC" 1>&2 + return 0 +fi + check_skip_list() { [ -f skip_list ] || return 1 while read file; do |