Allow wineinstall to be run from tools/ or from the main Wine

directory.
This commit is contained in:
Vincent Béron 2002-10-13 17:53:47 +00:00 committed by Alexandre Julliard
parent 37d40786e7
commit 0e668bb9b3
1 changed files with 10 additions and 3 deletions

View File

@ -222,9 +222,16 @@ then {
if ! [ -f configure ] if ! [ -f configure ]
then { then {
echo "You're running this from the wrong directory." if [ -f ../configure ]
echo "Change to the Wine source's main directory and try again." then {
exit 1 pushd ..
}
else {
echo "You're running this from the wrong directory."
echo "Change to the Wine source's main directory and try again."
exit 1
}
fi
} }
fi fi