From 66df1425ffb968a3792fd3884e5f9244e415a458 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sat, 18 Feb 2017 21:41:50 +0000 Subject: [PATCH] Quote path to doxygen/kyua in test(1) -x check This is a basic stopgap against ${LOCALBASE} containing spaces in it MFC after: 1 week Sponsored by: Dell EMC Isilon --- Makefile.inc1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 6657f3967139..35ccdd82ea7d 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1499,7 +1499,7 @@ sign-packages: _pkgbootstrap .PHONY # Run test suite on installed world. # checkworld: .PHONY - @if [ ! -x ${LOCALBASE}/bin/kyua ]; then \ + @if [ ! -x "${LOCALBASE}/bin/kyua" ]; then \ echo "You need kyua (devel/kyua) to run the test suite." | /usr/bin/fmt; \ exit 1; \ fi @@ -1512,7 +1512,7 @@ checkworld: .PHONY # Build the API documentation with doxygen # doxygen: .PHONY - @if [ ! -x ${LOCALBASE}/bin/doxygen ]; then \ + @if [ ! -x "${LOCALBASE}/bin/doxygen" ]; then \ echo "You need doxygen (devel/doxygen) to generate the API documentation of the kernel." | /usr/bin/fmt; \ exit 1; \ fi