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 printf instead of echo since we ...



details:   https://anonhg.NetBSD.org/src/rev/544870bd2f67
branches:  trunk
changeset: 446747:544870bd2f67
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 16 17:30:57 2018 +0000

description:
Use printf instead of echo since we can't portably use \ in string (from sjg@)
http://pubs.opengroup.org/onlinepubs/009695399/utilities/echo.html

diffstat:

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

diffs (16 lines):

diff -r 41118ed365df -r 544870bd2f67 usr.bin/make/unit-tests/varquote.mk
--- a/usr.bin/make/unit-tests/varquote.mk       Sun Dec 16 17:08:19 2018 +0000
+++ b/usr.bin/make/unit-tests/varquote.mk       Sun Dec 16 17:30:57 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: varquote.mk,v 1.2 2018/05/27 01:14:51 christos Exp $
+# $NetBSD: varquote.mk,v 1.3 2018/12/16 17:30:57 christos Exp $
 #
 # Test VAR:q modifier
 
@@ -10,5 +10,5 @@
        @${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:q}
 .else
 all:
-       @echo ${REPROFLAGS}
+       @printf ${REPROFLAGS}
 .endif



Home | Main Index | Thread Index | Old Index