Module Name: src
Committed By: kre
Date: Wed Jan 5 01:46:28 UTC 2022
Modified Files:
src/etc: Makefile
Log Message:
Install the missing sh syntax element in the MKDEBUGKERNEL = no test, so
that "continue" is a command as intended, and not an invalid last arg to
the '[' command (the last arg is required to be ']').
Sometime the proverbial someone should go through this and remove all the
obsolete test -o and -a operators, and probably do something with test's
usage of ! as well. Not today, or not by me anyway.
To generate a diff of this commit:
cvs rdiff -u -r1.457 -r1.458 src/etc/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/Makefile
diff -u src/etc/Makefile:1.457 src/etc/Makefile:1.458
--- src/etc/Makefile:1.457 Sun Jan 2 20:09:03 2022
+++ src/etc/Makefile Wed Jan 5 01:46:28 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.457 2022/01/02 20:09:03 christos Exp $
+# $NetBSD: Makefile,v 1.458 2022/01/05 01:46:28 kre Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@@ -626,7 +626,7 @@ kernset-${configfile}: .PHONY build_kern
[ -z "$${newest}" -o $${ks} \
-nt "$${newest}" ] && newest=$${ks}; \
[ ${MKDEBUGKERNEL} = "no" -o \
- ! -f $${ks}.gdb ] continue; \
+ ! -f $${ks}.gdb ] && continue; \
kernels="$${kernels} $${ks}.gdb"; \
done; \
done; \