From 6e14763e7dd700db1efc2848598c00b1d3b47f99 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 2 Mar 2004 14:32:23 +0000 Subject: [PATCH] Protect shell expansions. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index eefa654a486c..a7ec5b63580d 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,9 @@ ${TGTS}: # Set a reasonable default .MAIN: all +.if make(world) STARTTIME!= LC_ALL=C date +.endif # # world # @@ -251,8 +253,10 @@ universe: @echo " (started ${STARTTIME})" @echo "--------------------------------------------------------------" +.if make(buildkernels) KERNCONFS!= cd ${.CURDIR}/sys/${TARGET}/conf && \ find [A-Z]*[A-Z] -type f -maxdepth 0 ! -name NOTES +.endif buildkernels: .for kernel in ${KERNCONFS}