aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac.c')
-rw-r--r--src/mac.c4
1 files changed, 2 insertions, 2 deletions
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 ()
2931 q[0] = '\0'; 2931 q[0] = '\0';
2932 2932
2933 strcpy (p, app_bundle_pathname); 2933 strcpy (p, app_bundle_pathname);
2934 strcat (p, "/Contents/MacOS/bin"); 2934 strcat (p, "/Contents/MacOS/libexec");
2935 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) 2935 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
2936 strcat (q, p); 2936 strcat (q, p);
2937 2937
2938 strcpy (p, app_bundle_pathname); 2938 strcpy (p, app_bundle_pathname);
2939 strcat (p, "/Contents/MacOS/libexec"); 2939 strcat (p, "/Contents/MacOS/bin");
2940 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) 2940 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
2941 { 2941 {
2942 if (q[0] != '\0') 2942 if (q[0] != '\0')