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:
rm -f $$f; \
@LN_CP_F@ $(top_srcdir)/libmysql/$$f $$f; \
done; \
for f in $(sqlstoragesources); do \
rm -f $$f; \
@LN_CP_F@ `find $(srcdir)/../sql -name $$f` $$f; \
done; \
it test -n "$(sqlstoragesources)" \
then \
for f in "$(sqlstoragesources)"; do \
rm -f "$$f"; \
@LN_CP_F@ `find $(srcdir)/../sql -name "$$f"` "$$f"; \
done; \
fi; \
rm -f 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