Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests use %s formats to avoid -flag confus...



details:   https://anonhg.NetBSD.org/src/rev/ca28cc887b1e
branches:  trunk
changeset: 995345:ca28cc887b1e
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 16 18:53:34 2018 +0000

description:
use %s formats to avoid -flag confusion (from sjg)

diffstat:

 usr.bin/make/unit-tests/varquote.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 50047d6b4404 -r ca28cc887b1e usr.bin/make/unit-tests/varquote.mk
--- a/usr.bin/make/unit-tests/varquote.mk       Sun Dec 16 17:46:58 2018 +0000
+++ b/usr.bin/make/unit-tests/varquote.mk       Sun Dec 16 18:53:34 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: varquote.mk,v 1.3 2018/12/16 17:30:57 christos Exp $
+# $NetBSD: varquote.mk,v 1.4 2018/12/16 18:53:34 christos Exp $
 #
 # Test VAR:q modifier
 
@@ -10,5 +10,5 @@
        @${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:q}
 .else
 all:
-       @printf ${REPROFLAGS}
+       @printf "%s %s\n" ${REPROFLAGS}
 .endif



Home | Main Index | Thread Index | Old Index