2931 |
q[0] = '\0'; |
q[0] = '\0'; |
2932 |
|
|
2933 |
strcpy (p, app_bundle_pathname); |
strcpy (p, app_bundle_pathname); |
2934 |
strcat (p, "/Contents/MacOS/bin"); |
strcat (p, "/Contents/MacOS/libexec"); |
2935 |
if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) |
if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) |
2936 |
strcat (q, p); |
strcat (q, p); |
2937 |
|
|
2938 |
strcpy (p, app_bundle_pathname); |
strcpy (p, app_bundle_pathname); |
2939 |
strcat (p, "/Contents/MacOS/libexec"); |
strcat (p, "/Contents/MacOS/bin"); |
2940 |
if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) |
if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) |
2941 |
{ |
{ |
2942 |
if (q[0] != '\0') |
if (q[0] != '\0') |