diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-29 11:48:57 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-29 11:48:57 +0000 |
commit | 897d06aa9731645e0a7fa7c315028dcdbfa3c798 (patch) | |
tree | 485cefa9621a788f5d27ac4dcab7fc6aa9843be6 /misc/libh | |
parent | Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; (diff) |
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
Notes
Notes:
svn path=/head/; revision=53958
Diffstat (limited to 'misc/libh')
-rw-r--r-- | misc/libh/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/libh/Makefile b/misc/libh/Makefile index 1a3c630ebc6c..f489b976736f 100644 --- a/misc/libh/Makefile +++ b/misc/libh/Makefile @@ -29,7 +29,7 @@ DISTFILES!= ${CAT} ${FILESDIR}/distfiles CVS_CMD?= cvs -z3 # arbitrary date for now. CVS_DATE= Thu December 21 18:20:00 GMT 2001 -CVS_DATE_!= ${ECHO} -n "${CVS_DATE}" | ${SED} 's/[ \t:]/_/g' +CVS_DATE_!= ${ECHO_CMD} -n "${CVS_DATE}" | ${SED} 's/[ \t:]/_/g' CVS_SITES?= :pserver:anonymous@usw4.freebsd.org:/home/libh/cvs STAMPFILE= ${DISTDIR}/${DISTNAME}/.stamp @@ -50,7 +50,7 @@ do-fetch: cd ${DISTDIR}; \ ${TAR} xfz ${DISTNAME}.${CVS_DATE_}.tar.gz \ ${DISTFILES}; \ - ${ECHO} -n "${CVS_DATE}" > ${STAMPFILE}; \ + ${ECHO_CMD} -n "${CVS_DATE}" > ${STAMPFILE}; \ exit; \ fi; \ unset CVS_RSH CVS_SERVER CVS_LOGIN || ${TRUE}; \ @@ -80,7 +80,7 @@ do-fetch: if [ "X$${CVS_LOGIN}" = "Xyes" ]; then \ ${CVS_CMD} -d $${CVS_SITE} logout < /dev/null; \ fi; \ - ${ECHO} -n ${CVS_DATE} > ${STAMPFILE}; \ + ${ECHO_CMD} -n ${CVS_DATE} > ${STAMPFILE}; \ ${ECHO_MSG} ">> CVS checkout successful." ;\ exit; \ fi ;\ |