]> git.eshelyaron.com Git - emacs.git/commitdiff
mac.c (init_mac_osx_environment): Switch libexec and bin so that self-
authorSteven Tamm <steventamm@mac.com>
Tue, 8 Apr 2003 16:11:37 +0000 (16:11 +0000)
committerSteven Tamm <steventamm@mac.com>
Tue, 8 Apr 2003 16:11:37 +0000 (16:11 +0000)
cohntained application find libexec files.

src/ChangeLog
src/mac.c

index 6cfe3b2b6f883a045d7f0d5ce80909f0c5dc631c..4cd53e526cb437dae91d05e0367a6b1ff7684a50 100644 (file)
@@ -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
index a6b92db4680fe9c958d97378c0bc439dfd134c07..ce2e424249323d28bcae2a1b02b52340b408fd7f 100644 (file)
--- a/src/mac.c
+++ b/src/mac.c
@@ -2931,12 +2931,12 @@ init_mac_osx_environment ()
       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')