From 38f214a14dfc513f0cd96a073011ef4aa7e915b5 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 14 Sep 2000 00:33:16 +0000 Subject: [PATCH] Fixed a problem with installing, for IRIX 'install', paths would be wrong and install would fail. sql/share/Makefile.am: When installing, should cd into the directory where the files are coming from. This caused a problem with one of our customers using an SGI IRIX machine, I'd guess that IRIX uses some version of install that doesn't disregard the path of the source file when copying the files. --- sql/share/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/share/Makefile.am b/sql/share/Makefile.am index 9b0f0a2991f..6080899c33e 100644 --- a/sql/share/Makefile.am +++ b/sql/share/Makefile.am @@ -16,7 +16,7 @@ install-data-local: $(DESTDIR)$(pkgdatadir)/$$lang/errmsg.txt; \ done $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/charsets - (for f in Index README "*.conf"; \ + (cd $(srcdir)/charsets; for f in Index README "*.conf"; \ do \ - $(INSTALL_DATA) $(srcdir)/charsets/$$f $(DESTDIR)$(pkgdatadir)/charsets/; \ + $(INSTALL_DATA) $$f $(DESTDIR)$(pkgdatadir)/charsets/; \ done)