From a6dbeb65a1e2f802eae45931a35c21f48f39f9b8 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 24 Jul 1996 14:04:57 +0000 Subject: [PATCH] Fix typo in last commit, it seems that a hash comments out a \ at the end of line. Also, fix existing bug in ethers.byname, it was passing an unknown option to yppush. This appears to have been a cut/paste slip intended for a $(DBLOAD) command above it. --- usr.sbin/ypserv/Makefile.yp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/ypserv/Makefile.yp b/usr.sbin/ypserv/Makefile.yp index 42a35828635..38e968f283b 100644 --- a/usr.sbin/ypserv/Makefile.yp +++ b/usr.sbin/ypserv/Makefile.yp @@ -1,7 +1,7 @@ # # Makefile for the NIS databases # -# $Id: Makefile.yp,v 1.8 1996/07/18 23:48:13 adam Exp $ +# $Id: Makefile.yp,v 1.9 1996/07/24 10:48:07 peter Exp $ # # This Makefile should only be run on the NIS master server of a domain. # All updated maps will be pushed to all NIS slave servers listed in the @@ -118,8 +118,8 @@ target: # all: master.passwd passwd hosts group networks protocols rpc \ - services servers netid # aliases publickey netgrp ethers bootparam \ - amd.host + services servers netid + # aliases publickey netgrp ethers bootparam amd.host ethers: ethers.byname ethers.byaddr bootparam: bootparams @@ -185,7 +185,7 @@ ethers.byname: $(ETHERS) -o $(YPMAPDIR)/$@ - $(TMP) @$(MV) $(TMP) $@ @$(DBLOAD) -c - @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) -i $(ETHERS) $@; fi + @if [ ! $(NOPUSH) ]; then $(YPPUSH) -d $(DOMAIN) $@; fi @if [ ! $(NOPUSH) ]; then echo "Pushed $@ map." ; fi