Re: automount and NIS issue
From: Binner (binner_at_talk21.com)
Date: 08/01/03
- Next message: Lee Sau Dan: "Re: Mounting MSDOS floppy drive"
- Previous message: vrihad_at_myway.com: "Re: Problem in compiling Linux-2.4.18 with gcc3"
- Next in thread: Peter T. Breuer: "Re: automount and NIS issue"
- Reply: Peter T. Breuer: "Re: automount and NIS issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 1 Aug 2003 02:57:32 -0700
First attempt at fixing the Makefile
it did look like this
auto_apps_cheney: $(AUTO_APPS) $(YPDIR)/Makefile
@echo "Updating $@..."
-@sed -e "/^#/d" -e 's/#.*$$//' $(AUTO_APPS) | $(DBLOAD) \
-i $(AUTO_APPS) -o $(YPMAPDIR)/$@ - $@
-@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@
now it looks like this
auto_apps_cheney: $(AUTO_APPS) $(YPDIR)/Makefile
@echo "Updating $@..."
-@sed -e "/^#/d" -e 's/#.*$$//' -e 's/ //g' $(AUTO_APPS) |
$(DBLOAD) \
-i $(AUTO_APPS) -o $(YPMAPDIR)/$@ - $@
-@$(NOPUSH) || $(YPPUSH) -d $(DOMAIN) $@
i have added
-e 's/ //g'
This removes all the whitespaces. Unfortunatley this broke 4 line in
another map. The line that were broken has whitespaces separating the
server:/mountpoint from the options so I shall try replacing the
whitespces with tabs and see if that makes any difference
- Next message: Lee Sau Dan: "Re: Mounting MSDOS floppy drive"
- Previous message: vrihad_at_myway.com: "Re: Problem in compiling Linux-2.4.18 with gcc3"
- Next in thread: Peter T. Breuer: "Re: automount and NIS issue"
- Reply: Peter T. Breuer: "Re: automount and NIS issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]