Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 1999 14:01:45 -0400 (EDT)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12363: audio/rplay uses echo instead of @${ECHO}
Message-ID:  <199906231801.OAA41522@shadow.blackdawn.com>

next in thread | raw e-mail | index | archive | help

>Number:         12363
>Category:       ports
>Synopsis:       audio/rplay uses echo instead of @${ECHO}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 23 11:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
none
>Environment:

FreeBSD shadow.blackdawn.com 3.2-STABLE FreeBSD 3.2-STABLE #0: Wed Jun 23 12:45:
46 EDT 1999     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW  i386

>Description:

audio/rplay port doesn't use @${ECHO} available in bsd.port.mk.

>How-To-Repeat:
>Fix:

diff -urN Makefile Makefile.new
--- Makefile    Tue Jun 22 16:36:52 1999
+++ Makefile.new        Wed Jun 23 13:57:48 1999
@@ -21,13 +21,13 @@

 post-install:
        @if [ ! -f ${PREFIX}/etc/rc.d/rplayd.sh ]; then \
-               echo "Installing ${PREFIX}/etc/rc.d/rplayd.sh startup file."; \
-               echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/rplayd.sh; \
-               echo "[ -x ${PREFIX}/sbin/rplayd ] && ( ${PREFIX}/sbin/rplayd &
) && echo -n ' rplayd'" >> ${PREFIX}/etc/rc.d/rplayd.sh; \
+               @${ECHO} "Installing ${PREFIX}/etc/rc.d/rplayd.sh startup file."
; \
+               @${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/rplayd.sh; \
+               @${ECHO} "[ -x ${PREFIX}/sbin/rplayd ] && ( ${PREFIX}/sbin/rplay
d & ) && echo -n ' rplayd'" >> ${PREFIX}/etc/rc.d/rplayd.sh; \
                chmod 751 ${PREFIX}/etc/rc.d/rplayd.sh; \
        fi
        @if [ ! -f ${PREFIX}/etc/rplay.hosts ]; then \
-               echo localhost > ${PREFIX}/etc/rplay.hosts; \
+               @${ECHO} localhost > ${PREFIX}/etc/rplay.hosts; \

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906231801.OAA41522>