# HG changeset patch # User maedhros # Date 2007-02-03 09:54:42 # Node ID 99223404db7c17958e06ad933f8b556e1f175cf3 # Parent d4459fd1ea09761ec85f28ca4935afc1a4bdabb2 (svn r8551) -Fix (r7759): Use ${} instead of $() for variables. diff --git a/config.lib b/config.lib --- a/config.lib +++ b/config.lib @@ -512,12 +512,12 @@ 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/Lang/" ]; then + if [ -n "$custom_lang_dir" ] && [ "$custom_lang_dir" != "${OSXAPP}/Contents/Lang/" ]; 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/Data/" ]; then + if [ -n "$custom_lang_dir" ] && [ "$second_data_dir" != "${OSXAPP}/Contents/Data/" ]; then log 1 "configure: error: --second-data-dir and --with-application-bundle are not compatible exit 1 fi