[ldm-users] bug in ldm-6.9.3/src/Makefile.in - Missing forward slash

Steve,

 

There is a bug in ldm-6.9.3/src/Makefile.in where the build fails if the
process reaches the 'else block' seen in my diff below.

 

The build was done on a Centos 5.5 x86_64.

 

The "awk" syntax fails because of a missing forward slash in your search
string of 'mail.none'.

 

diff -uNr ldm-6.9.3/src/Makefile.in ldm-6.9.3a/src/Makefile.in
--- ldm-6.9.3/src/Makefile.in   2011-01-03 14:35:15.000000000 -0600
+++ ldm-6.9.3a/src/Makefile.in  2011-01-05 13:45:56.000000000 -0600
@@ -956,7 +956,7 @@
        if grep $(LOG_LDM) $(SYSLOG_CONF) >/dev/null; then \
            : true; \
        else \
-           awk 'mail\.none/{\
+           awk '/mail\.none/{\
                print $$1 ";$(LOG_LDM).none     " $$2; next}{print}' \
                $(SYSLOG_CONF) >$(SYSLOG_CONF).new \
            && echo >>$(SYSLOG_CONF).new \

 

So it should be:  awk '/mail\.none/{\ instead of awk 'mail\.none/{\

 

Thanks.

 

Andrew Little

Weather Systems Analyst

Universal Weather & Aviation

8787 Tallyho Road

Houston, Texas 77061

(713) 947-5633

(713) 504-2719

 

alittle@xxxxxxxxxxxx <mailto:alittle@xxxxxxxxxxxx> 

 

Success from the word GO.