diff src/mac.c @ 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 23a1cea22d13
children 695cf19ef79e
line wrap: on
line diff
--- 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')