Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/openresolv/sbin/resolvconf Fix subst so that th...



details:   https://anonhg.NetBSD.org/src/rev/537e8a32827b
branches:  trunk
changeset: 749577:537e8a32827b
user:      roy <roy%NetBSD.org@localhost>
date:      Thu Dec 03 10:28:37 2009 +0000

description:
Fix subst so that the subcribers can restart their daemon.

diffstat:

 external/bsd/openresolv/sbin/resolvconf/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r a0973731bc65 -r 537e8a32827b external/bsd/openresolv/sbin/resolvconf/Makefile
--- a/external/bsd/openresolv/sbin/resolvconf/Makefile  Thu Dec 03 05:06:16 2009 +0000
+++ b/external/bsd/openresolv/sbin/resolvconf/Makefile  Thu Dec 03 10:28:37 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2009/11/21 03:24:31 roy Exp $
+# $NetBSD: Makefile,v 1.2 2009/12/03 10:28:37 roy Exp $
 #
 
 .include <bsd.own.mk>
@@ -16,16 +16,16 @@
 
 CLEANFILES=    ${SCRIPTS} ${MAN}
 
-CMD1=          \\1 status >/dev/null 2>\\&1
-CMD2=          \\1 restart
-RESTART_CMD=   /etc/rc.d/${CMD1} \\&\\& /etc/rc.d/${CMD2}
+CMD1=          \1 status >/dev/null 2>\&1
+CMD2=          \1 restart
+RESTARTCMD=    /etc/rc.d/${CMD1} \&\& /etc/rc.d/${CMD2}
 .for f in ${SCRIPTS} ${MAN}
 ${f}:  ${f}.in
        ${TOOL_SED} -e 's:@PREFIX@::g' \
                -e 's:@SYSCONFDIR@:/etc:g' \
                -e 's:@LIBEXECDIR@:/libexec/resolvconf:g' \
                -e 's:@VARDIR@:/var/run/resolvconf:g' \
-               -e 's:@RESTARTCMD \(.*\)@:${RESARTCMD}:g' \
+               -e 's:@RESTARTCMD \(.*\)@:${RESTARTCMD}:g' \
                ${DIST}/${f}.in > $@
 .endfor
 



Home | Main Index | Thread Index | Old Index