Module Name:    src
Committed By:   rillig
Date:           Sun Jun 19 18:28:16 UTC 2022

Modified Files:
        src/sys/lib/libkern: Makefile.inc

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/lib/libkern/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/lib/libkern/Makefile.inc
diff -u src/sys/lib/libkern/Makefile.inc:1.47 src/sys/lib/libkern/Makefile.inc:1.48
--- src/sys/lib/libkern/Makefile.inc:1.47	Mon May 30 14:13:59 2022
+++ src/sys/lib/libkern/Makefile.inc	Sun Jun 19 18:28:16 2022
@@ -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} \

Reply via email to