@ -555,18 +555,18 @@ check_params() {
OSXAPP="OpenTTD.app"
# TODO: remove next few lines of code when the search path patch has been applied
if [ -n "$custom_lang_dir" ] && [ "$custom_lang_dir" != "${OSXAPP}/Contents/L ang/" ]; then
if [ -n "$custom_lang_dir" ] && [ "$custom_lang_dir" != "${OSXAPP}/Contents/Resources/l ang/" ]; then
log 1 "configure: error: --custom-lang-dir and --with-application-bundle are not compatible
exit 1
fi
if [ -n "$custom_lang_dir" ] && [ "$second_data_dir" != "${OSXAPP}/Contents/D ata/" ]; then
if [ -n "$custom_lang_dir" ] && [ "$second_data_dir" != "${OSXAPP}/Contents/Resources/d ata/" ]; then
log 1 "configure: error: --second-data-dir and --with-application-bundle are not compatible
exit 1
fi
custom_lang_dir="${OSXAPP}/Contents/L ang/"
second_data_dir="${OSXAPP}/Contents/D ata/"
custom_lang_dir="${OSXAPP}/Contents/Resources/l ang/"
second_data_dir="${OSXAPP}/Contents/Resources/d ata/"
# TODO: remove till here
else
OSXAPP=""