bug-make
[Top][All Lists]
Advanced

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

Make 3.79.1 2000


From: Waldron, Terry
Subject: Make 3.79.1 2000
Date: Tue, 12 Dec 2000 16:06:37 -0600

Not sure if this is correct behavior but the commented code just before the
done statement in this Makefile segment below causes an unexpected end of
line error.  Don't be alarmed that this code has spaces not tabs.  Rest
assure that the real code has tabs.

install-final:
        address@hidden/tmp/$(FILE) ;\
        hosts="$(HOSTS)" ;\
        for i in $$hosts ;\
        do \
                host="$$i" ;\
                if [ "$$host" = "moose" ]; then \
                        rcp="su bin -c \"rcp" ;\
                        close=\" ;\
                else \
                        rcp=rcp ; close="" ;\
                fi ;\
                cat header > $$temp 2>/dev/null ;\
                cat $$host >> $$temp 2>/dev/null ;\
                cat $(FILE) >> $$temp 2>/dev/null ;\
                if [ $$host = "mink" -o $$host = "moose" ]; then \
                        ypcat -k $(FILE) >> $$temp ;\
                else \
                        echo +$(FILE) >> $$temp ;\
                fi ;\
                echo $$rcp $$temp $$host:$(DESTDIR)/$(FILE) $$close | sh -x
;\
#               chmod $(MODE) $(DESTDIR)/$(FILE) ;\
        done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]