summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-02-03 09:54:42 +0000
committermaedhros <maedhros@openttd.org>2007-02-03 09:54:42 +0000
commit2e30da531b61fda9ce04f31101724d4f58d882c3 (patch)
treedfe70d1aa211a09057422be5c18d253a4cd763e2
parentc326ff37956552f883e6d6f4dc6e2fb9f61e40d0 (diff)
downloadopenttd-2e30da531b61fda9ce04f31101724d4f58d882c3.tar.xz
(svn r8551) -Fix (r7759): Use ${} instead of $() for variables.
-rw-r--r--config.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.lib b/config.lib
index b108031b9..804de5223 100644
--- 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