libkern: fix wrong escaping in makefile

In the unlikely event that KERNDIR contains a '$' character, that '$'
should not be doubled to '$$'. It only needs the usual shell quoting.
This commit is contained in:
rillig 2022-06-19 18:28:16 +00:00
parent a89419496c
commit 2a9be2a76b
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.47 2022/05/30 14:13:59 rin Exp $
# $NetBSD: Makefile.inc,v 1.48 2022/06/19 18:28:16 rillig Exp $
#
# Configuration variables (default values are below):
#
@ -41,7 +41,7 @@ KERNLIBLN= ${KERNDST}/${LIBKERNLNBN}
LIBKERN_MD_FLAGS?= none
KERNMAKE= \
cd ${KERNDST} && ${MAKE} -f ${KERNDIR:q}/Makefile \
cd ${KERNDST} && ${MAKE} -f ${KERNDIR:Q}/Makefile \
KERNDIR=${KERNDIR:q} \
CC=${CC:q} CFLAGS=${CFLAGS:q} CPUFLAGS= \
AS=${AS:q} AFLAGS=${AFLAGS:q} \