changeset 50490:52dcc63018da

mac.c (init_mac_osx_environment): Switch libexec and bin so that self- cohntained application find libexec files.
author Steven Tamm <steventamm@mac.com>
date Tue, 08 Apr 2003 16:11:37 +0000
parents d100df2e7bdf
children 15f94db27199
files src/ChangeLog src/mac.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Apr 08 11:28:57 2003 +0000
+++ b/src/ChangeLog	Tue Apr 08 16:11:37 2003 +0000
@@ -1,3 +1,7 @@
+2003-04-08  Steven Tamm  <steventamm@mac.com>
+	* mac.c (init_mac_osx_environment): Switch libexec and bin so
+	that self-contained application finds libexec files.
+
 2003-04-08  Kenichi Handa  <handa@etlken2>
 
 	* coding.c (code_convert_region_unwind): Set
--- a/src/mac.c	Tue Apr 08 11:28:57 2003 +0000
+++ b/src/mac.c	Tue Apr 08 16:11:37 2003 +0000
@@ -2931,12 +2931,12 @@
       q[0] = '\0';
 
       strcpy (p, app_bundle_pathname);
-      strcat (p, "/Contents/MacOS/bin");
+      strcat (p, "/Contents/MacOS/libexec");
       if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
 	strcat (q, p);
 
       strcpy (p, app_bundle_pathname);
-      strcat (p, "/Contents/MacOS/libexec");
+      strcat (p, "/Contents/MacOS/bin");
       if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
 	{
 	  if (q[0] != '\0')