source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Have regress.sh bail out if $MANDOC isn't found.
@ 2010-06-06 10:57 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-06-06 10:57 UTC (permalink / raw)
  To: source

Log Message:
-----------
Have regress.sh bail out if $MANDOC isn't found.

Modified Files:
--------------
    mdocml/regress:
        regress.sh

Revision Data
-------------
Index: regress.sh
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/regress/regress.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -Lregress/regress.sh -Lregress/regress.sh -u -p -r1.5 -r1.6
--- regress/regress.sh
+++ 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
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-06 10:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-06 10:57 mdocml: Have regress.sh bail out if $MANDOC isn't found kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).