summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/docs/builddocs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/docs/builddocs.sh')
-rwxr-xr-xsource4/lib/ldb/docs/builddocs.sh2
1 files changed, 1 insertions, 1 deletions
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