From b075bb842d6665be3212ddf93d4ccb98472f341a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 24 Aug 2006 01:03:42 +0000 Subject: r17765: fix handling of old solaris /bin/sh in ldb build/test (This used to be commit f41d3ed4b3d76c37c9c5bfd15e9e4e27179450f0) --- source4/lib/ldb/docs/builddocs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb/docs') diff --git a/source4/lib/ldb/docs/builddocs.sh b/source4/lib/ldb/docs/builddocs.sh index b071f0f954..64835c9efe 100755 --- a/source4/lib/ldb/docs/builddocs.sh +++ b/source4/lib/ldb/docs/builddocs.sh @@ -5,7 +5,7 @@ XSLTPROC="$1" SRCDIR="$2" -if ! test -x "$XSLTPROC"; then +if [ -z "$XSLTPROC" ] || [ ! -x "$XSLTPROC" ]; then echo "xsltproc not installed" exit 0 fi -- cgit