libmysqld/Makefile.am : Workaround against the empty variable "$sqlstoragesources",

shell "for" loops without values to loop over cause syntax errors.


libmysqld/Makefile.am:
  Workaround:  The variable "$sqlstoragesources" expands to empty, this causes shell errors.
  The clean solution would be to check the reason for this, whether it will be permanent etc,
  but for a quick fix it is sufficient to prevent shell syntax errors.
This commit is contained in:
unknown 2006-05-08 23:47:58 +02:00
commit 9a0afe0681

View file

@ -167,10 +167,13 @@ link_sources:
rm -f $$f; \ rm -f $$f; \
@LN_CP_F@ $(top_srcdir)/libmysql/$$f $$f; \ @LN_CP_F@ $(top_srcdir)/libmysql/$$f $$f; \
done; \ done; \
for f in $(sqlstoragesources); do \ it test -n "$(sqlstoragesources)" \
rm -f $$f; \ then \
@LN_CP_F@ `find $(srcdir)/../sql -name $$f` $$f; \ for f in "$(sqlstoragesources)"; do \
done; \ rm -f "$$f"; \
@LN_CP_F@ `find $(srcdir)/../sql -name "$$f"` "$$f"; \
done; \
fi; \
rm -f client_settings.h; \ rm -f client_settings.h; \
@LN_CP_F@ $(top_srcdir)/libmysql/client_settings.h client_settings.h @LN_CP_F@ $(top_srcdir)/libmysql/client_settings.h client_settings.h