Commit 9a0afe06 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -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; \
	  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