1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-25 07:29:10 +00:00

(svn r13894) -Fix: bashisms in configure and Makefile.in

This commit is contained in:
smatz
2008-07-31 14:32:35 +00:00
parent 61799786d5
commit c779b7c4b2
2 changed files with 6 additions and 4 deletions

8
configure vendored
View File

@@ -32,7 +32,7 @@ MEDIA_DIR="$ROOT_DIR/media"
SOURCE_LIST="$ROOT_DIR/source.list"
if [ "$1" = "--reconfig" ] || [ "$1" = "--reconfigure" ]; then
if ! [ -f "config.cache" ]; then
if [ ! -f "config.cache" ]; then
echo "can't reconfigure, because never configured before"
exit 1
fi
@@ -43,7 +43,9 @@ if [ "$1" = "--reconfig" ] || [ "$1" = "--reconfigure" ]; then
exit $?
fi
export SHOW_HELP="0"
# 'export SHOW_HELP="0"' doesn't work on some systems
SHOW_HELP="0"
export SHOW_HELP
set_default
detect_params "$@"
@@ -70,7 +72,7 @@ else
PIPE_SORT="$sort"
fi
if ! [ -f "$LANG_DIR/english.txt" ]; then
if [ ! -f "$LANG_DIR/english.txt" ]; then
echo "Languages not found in $LANG_DIR. Can't continue without it."
echo "Please make sure the dir exists and contains at least english.txt"
fi