From e8f25745658d1226ccde6b5ae2f7eceaeda74446 Mon Sep 17 00:00:00 2001 From: Steven Tamm Date: Tue, 8 Apr 2003 16:11:37 +0000 Subject: [PATCH] mac.c (init_mac_osx_environment): Switch libexec and bin so that self- cohntained application find libexec files. --- src/ChangeLog | 4 ++++ src/mac.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 6cfe3b2b6f8..4cd53e526cb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-04-08 Steven Tamm + * mac.c (init_mac_osx_environment): Switch libexec and bin so + that self-contained application finds libexec files. + 2003-04-08 Kenichi Handa * coding.c (code_convert_region_unwind): Set diff --git a/src/mac.c b/src/mac.c index a6b92db4680..ce2e4242493 100644 --- 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') -- 2.39.2