diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-29 11:08:52 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-01-29 11:08:52 +0000 |
commit | 0b1020495087240f21a4fa421e92e457fc065310 (patch) | |
tree | a9275c6a984cfec29d075da9a46c02652d31293e /japanese/rskkserv/Makefile | |
parent | Update to 1.8.17. (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.
Use command macros where appropriate.
Diffstat (limited to '')
-rw-r--r-- | japanese/rskkserv/Makefile | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/japanese/rskkserv/Makefile b/japanese/rskkserv/Makefile index dfd0f14ce4e9..a9e9558b1dec 100644 --- a/japanese/rskkserv/Makefile +++ b/japanese/rskkserv/Makefile @@ -55,27 +55,27 @@ post-install: @if [ ! -f ${STARTUP_SCRIPT} ]; then \ ${ECHO} "Installing ${STARTUP_SCRIPT} file."; \ ( \ - ${ECHO} "#!/bin/sh"; \ - ${ECHO} "case \$$1 in"; \ - ${ECHO} "start)"; \ - ${ECHO} " if [ -f ${PREFIX}/libexec/rskkserv ]; then"; \ - ${ECHO} " ${ECHO} -n ' rskkserv: '"; \ - ${ECHO} " ${PREFIX}/libexec/rskkserv --verbose"; \ - ${ECHO} " fi"; \ - ${ECHO} " ;;"; \ - ${ECHO} "stop)"; \ - ${ECHO} " pidfile=/var/run/rskkserv.pid"; \ - ${ECHO} " if [ -f \$$pidfile ]; then"; \ - ${ECHO} " kill \`cat \$$pidfile\` && echo -n ' rskkserv'"; \ - ${ECHO} " ${RM} \$$pidfile"; \ - ${ECHO} " else"; \ - ${ECHO} " ${ECHO} ' rskkserv: not running'"; \ - ${ECHO} " fi"; \ - ${ECHO} " ;;"; \ - ${ECHO} "*)"; \ - ${ECHO} " ${ECHO} \"usage: \$$0 {start|stop}\" 1>&2"; \ - ${ECHO} " ;;"; \ - ${ECHO} "esac"; \ + ${ECHO_CMD} "#!/bin/sh"; \ + ${ECHO_CMD} "case \$$1 in"; \ + ${ECHO_CMD} "start)"; \ + ${ECHO_CMD} " if [ -f ${PREFIX}/libexec/rskkserv ]; then"; \ + ${ECHO_CMD} " ${ECHO_CMD} -n ' rskkserv: '"; \ + ${ECHO_CMD} " ${PREFIX}/libexec/rskkserv --verbose"; \ + ${ECHO_CMD} " fi"; \ + ${ECHO_CMD} " ;;"; \ + ${ECHO_CMD} "stop)"; \ + ${ECHO_CMD} " pidfile=/var/run/rskkserv.pid"; \ + ${ECHO_CMD} " if [ -f \$$pidfile ]; then"; \ + ${ECHO_CMD} " kill \`cat \$$pidfile\` && echo -n ' rskkserv'"; \ + ${ECHO_CMD} " ${RM} \$$pidfile"; \ + ${ECHO_CMD} " else"; \ + ${ECHO_CMD} " ${ECHO_CMD} ' rskkserv: not running'"; \ + ${ECHO_CMD} " fi"; \ + ${ECHO_CMD} " ;;"; \ + ${ECHO_CMD} "*)"; \ + ${ECHO_CMD} " ${ECHO_CMD} \"usage: \$$0 {start|stop}\" 1>&2"; \ + ${ECHO_CMD} " ;;"; \ + ${ECHO_CMD} "esac"; \ ) > ${STARTUP_SCRIPT}; \ ${CHMOD} ${BINMODE} ${STARTUP_SCRIPT}; \ fi |