(svn r8551) -Fix (r7759): Use ${} instead of $() for variables.
authormaedhros
Sat, 03 Feb 2007 09:54:42 +0000
changeset 5923 191acaa01499
parent 5922 caa040c9e25d
child 5924 f9e5c4f44bc5
(svn r8551) -Fix (r7759): Use ${} instead of $() for variables.
config.lib
--- a/config.lib	Sat Feb 03 09:05:43 2007 +0000
+++ b/config.lib	Sat Feb 03 09:54:42 2007 +0000
@@ -512,12 +512,12 @@
 		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