mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-08 01:10:28 +00:00
(svn r8551) -Fix (r7759): Use ${} instead of $() for variables.
This commit is contained in:
parent
c326ff3795
commit
2e30da531b
@ -512,12 +512,12 @@ check_params() {
|
|||||||
OSXAPP="OpenTTD.app"
|
OSXAPP="OpenTTD.app"
|
||||||
|
|
||||||
# TODO: remove next few lines of code when the search path patch has been applied
|
# 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
|
log 1 "configure: error: --custom-lang-dir and --with-application-bundle are not compatible
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
log 1 "configure: error: --second-data-dir and --with-application-bundle are not compatible
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user