Source-Changes-HG archive

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

[src/trunk]: src Use printf rather than echo -n, since the former works on al...



details:   https://anonhg.NetBSD.org/src/rev/ba7838421e81
branches:  trunk
changeset: 526343:ba7838421e81
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Thu May 02 16:36:21 2002 +0000

description:
Use printf rather than echo -n, since the former works on all POSIX systems.

diffstat:

 Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r ce65cbcc0ede -r ba7838421e81 Makefile
--- a/Makefile  Thu May 02 16:34:57 2002 +0000
+++ b/Makefile  Thu May 02 16:36:21 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.171 2002/04/29 12:14:36 lukem Exp $
+#      $NetBSD: Makefile,v 1.172 2002/05/02 16:36:21 bjh21 Exp $
 
 # This is the top-level makefile for building NetBSD. For an outline of
 # how to build a snapshot or release, as well as other release engineering
@@ -156,11 +156,11 @@
 .if defined(BUILD_DONE)
        @echo "Build already installed into ${DESTDIR}"
 .else
-       @echo -n "Build started at: " && date
+       @printf "Build started at: " && date
 .for tgt in ${BUILDTARGETS}
        @(cd ${.CURDIR} && ${MAKE} ${_J} ${tgt})
 .endfor
-       @echo -n "Build finished at: " && date
+       @printf "Build finished at: " && date
 .endif
 
 # Build a full distribution, but not a release (i.e. no sets into



Home | Main Index | Thread Index | Old Index