[SUMMERY] distribute auto.home and auto_home

From: Moti Levy (mlevy@lannet.com)
Date: Tue Sep 05 2000 - 06:07:42 CDT


Hi ,
I 've had a lot of replies thanks to all what I ended up doing was on the
auto.home.time section I duplicated the makedbm line to create both
auto.home and auto_home
and the same for all other maps .
it looks like this -
------------------------------------------------------------------
auto.home.time: $(DIR)/auto.home
        -@if [ -f $(DIR)/auto.home ]; then \
                sed -e "/^#/d" -e s/#.*$$// $(DIR)/auto.home \
                | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto.home; \
                sed -e "/^#/d" -e s/#.*$$// $(DIR)/auto.home \
                | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/auto_home; \
                touch auto.home.time; \
                echo "updated auto.home and auto_home"; \
                if [ ! $(NOPUSH) ]; then \
                        $(YPPUSH) auto.home; \
                        $(YPPUSH) auto_home; \ #### this is the duplicated
line
                        echo "pushed auto.home and auto_home"; \ ##### this
had auto_home added to the echo .
                else \
                : ; \
                fi \
        else \
                echo "couldn't find $(DIR)/auto.home"; \
        fi
----------------------------------------------------------------------------
----------------------
thanks again to all who replied , your help and opinions are highly
appreciated
Regards ,
Moti Levy
Unix Admin
mlevy@lannet.com

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:16 CDT