mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02:00
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:
parent
94c6f6dc48
commit
9a0afe0681
1 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue