Commit 9a0afe06 authored by unknown's avatar unknown

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.
parent 94c6f6dc
...@@ -167,10 +167,13 @@ link_sources: ...@@ -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 \
rm -f "$$f"; \
@LN_CP_F@ `find $(srcdir)/../sql -name "$$f"` "$$f"; \
done; \ 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment