changeset 82234:729279f419f3

Adjust load-path
author Vinicius Jose Latorre <viniciusjl@ig.com.br>
date Wed, 01 Aug 2007 21:43:11 +0000
parents 337c5a70f4ca
children 286623bef670
files src/ChangeLog src/mac.c
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Aug 01 17:39:23 2007 +0000
+++ b/src/ChangeLog	Wed Aug 01 21:43:11 2007 +0000
@@ -1,3 +1,8 @@
+2007-08-01  Seiji Zenitani  <zenitani@mac.com>
+
+	* mac.c (init_mac_osx_environment): Adjust load-path on self-contained
+	build.
+
 2007-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* gtkutil.c (xg_tool_bar_callback): Generate a single TOOL_BAR_EVENT.
--- a/src/mac.c	Wed Aug 01 17:39:23 2007 +0000
+++ b/src/mac.c	Wed Aug 01 21:43:11 2007 +0000
@@ -5327,12 +5327,12 @@
       q[0] = '\0';
 
       strcpy (p, app_bundle_pathname);
-      strcat (p, "/Contents/Resources/lisp");
+      strcat (p, "/Contents/Resources/site-lisp");
       if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
 	strcat (q, p);
 
       strcpy (p, app_bundle_pathname);
-      strcat (p, "/Contents/Resources/leim");
+      strcat (p, "/Contents/Resources/lisp");
       if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
 	{
 	  if (q[0] != '\0')
@@ -5341,7 +5341,7 @@
 	}
 
       strcpy (p, app_bundle_pathname);
-      strcat (p, "/Contents/Resources/site-lisp");
+      strcat (p, "/Contents/Resources/leim");
       if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
 	{
 	  if (q[0] != '\0')