From c6e3731726f794cbb9132bc915c004445672d1fd Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 20 Jul 1999 06:32:05 +0000 Subject: Correct dhid.sh.sample script by replacing @ECHO@ with ${ECHO}. Also add RCS ID tag to dhid.sh.sample. --- net/dhid/Makefile | 6 +++--- net/dhid/files/dhid.sh.sample | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'net') diff --git a/net/dhid/Makefile b/net/dhid/Makefile index bbe605564c1..1a3ad1dac5f 100644 --- a/net/dhid/Makefile +++ b/net/dhid/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $ +# $NetBSD: Makefile,v 1.2 1999/07/20 06:32:05 jlam Exp $ # DISTNAME= dhid-3.0 @@ -15,8 +15,8 @@ pre-patch: do-configure: ${SED} -e "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/dtool.in >${WRKSRC}/dtool - ${SED} -e "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/dhid.sh.sample \ - >${WRKDIR}/dhid.sh.sample + ${SED} -e "s,@PREFIX@,${PREFIX},g" -e "s,@ECHO@,${ECHO},g" \ + ${FILESDIR}/dhid.sh.sample >${WRKDIR}/dhid.sh.sample do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/libexec diff --git a/net/dhid/files/dhid.sh.sample b/net/dhid/files/dhid.sh.sample index 47f12a1a96e..f0fe5de5dd1 100644 --- a/net/dhid/files/dhid.sh.sample +++ b/net/dhid/files/dhid.sh.sample @@ -1,6 +1,9 @@ #!/bin/sh +# +# $NetBSD: dhid.sh.sample,v 1.2 1999/07/20 06:32:05 jlam Exp $ + DHID=@PREFIX@/libexec/dhid if [ -f ${DHID} ]; then - ${ECHO} -n " dhid" + @ECHO@ -n " dhid" ${DHID} fi -- cgit v1.2.3